Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Fix the echo -n problem in 10.5' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Fix the echo -n problem in 10.5
Authored by: mluger on Tue, Nov 20 2007 at 3:00PM PST
1) It is very stupid to change the shells like this, it could break system scripts..


2) If you just did a 'man echo' you could have read that you can use this:

echo "Insert name:\c"

I quote:

"The following option is available:

-n Do not print the trailing newline character. This may also
be achieved by appending `\c' to the end of the string."

"Some shells may provide a builtin echo command which is similar or
identical to this utility. Most notably, the builtin echo in sh(1)
does not accept the -n option. Consult the builtin(1) manual page."


3) If you want another shell. Ctrl-click on your loginname at the account settings in the Sytem Preferences. This give you access to 'Advanced options'. There you can change your login shell.



[ Reply to This | # ]