Results 1 to 3 of 3
/etc/init.d/sshd on Fedora 13 has lines like these:
Code:
echo -n $ "Reloading $prog: "
Which effect does the $ before the string have?
BTW: This $ before a double-quoted ...
- 12-08-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
[SOLVED] dollar before string
/etc/init.d/sshd on Fedora 13 has lines like these:
Which effect does the $ before the string have?Code:echo -n $"Reloading $prog: "
BTW: This $ before a double-quoted string is used in many initscripts on Fedora 13, but not on Ubuntu 8.04.
- 12-08-2010 #2
Hi, that should answer your question: Explains: echo Command (echo $”string”) Double-quoted String Preceded By a Dollar Sign
Refining Linux Advent calendar: “24 Outstanding ZSH Gems”
- 12-08-2010 #3Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
dollar before string
Oh wow, cool feature!
Thanks a bunch.


