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
Add support for the -n option for the echo command. This removes the default trailing newline.
Ex.
$ echo foo bar # notice the extra space after "foo bar"
foo bar
$ echo -n foo bar # notice no extra space after "foo bar"
foo bar
$
This can be implemented using process.stdout.write() fairly easily, just remember to concatenate all arguments into a single string to pass to process.stdout.write()
The text was updated successfully, but these errors were encountered:
Add support for the
-n
option for theecho
command. This removes the default trailing newline.Ex.
This can be implemented using
process.stdout.write()
fairly easily, just remember to concatenate all arguments into a single string to pass toprocess.stdout.write()
The text was updated successfully, but these errors were encountered: