You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With multi-line command line (bash) examples, it's convenient for users to just cut and paste them into a terminal window. Our examples (mostly) start with a $ on each line, making it inconvenient to cut and paste examples such as:
$ cd $ZEPHYR_BASE/tests/booting/stub
# Make a build directory, and use cmake to configure a Make-based build system:
$ mkdir build && cd build
$ cmake -DBOARD=arduino_101 ..
# Now run make on the generated build system:
$ make flash
vs.
cd $ZEPHYR_BASE/tests/booting/stub
# Make a build directory, and use cmake to configure a Make-based build system:
mkdir build && cd build
cmake -DBOARD=arduino_101 ..
# Now run make on the generated build system:
make flash
For examples that mix command and their output, I'm personally in favor of putting the $ in, but for multi-line examples (without output) not using the $ makes more sense.
Your thoughts?
The text was updated successfully, but these errors were encountered:
For examples that mix command and their output, I'm personally in favor of putting the $ in, but for multi-line examples (without output) not using the $ makes more sense.
With multi-line command line (bash) examples, it's convenient for users to just cut and paste them into a terminal window. Our examples (mostly) start with a
$
on each line, making it inconvenient to cut and paste examples such as:vs.
For examples that mix command and their output, I'm personally in favor of putting the
$
in, but for multi-line examples (without output) not using the$
makes more sense.Your thoughts?
The text was updated successfully, but these errors were encountered: