![]() |
Echoing the character &
Can anyone out there show me how to actually echo the character &
|
echo '&', echo "&", echo \&, etc. should work fine. Quoting or escaping, that is.
|
& \ . * /
Are called metacharacters for the shell because the have special meaning & - used to send a command to run in background \ = so-called escape character because it means 'take the next chacacter literally' as in echo \& . current directory * wildcard for file specifications / path separator, name of the root of all paths |
...and all these metacharacters can be quoted/escaped as ignotus describes.
|
Quote:
|
Proabably :) get the humor... or not, it matters little
|
Was it worth dredging up a 2 month dead thread, just to say that?
:banana: |
Quote:
|
| All times are GMT -5. The time now is 10:59 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC