Computing.Net > Forums > Unix > Special Characters of the Korn shell

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Special Characters of the Korn shell

Reply to Message Icon

Name: shashi_sysadmin
Date: September 30, 2009 at 16:21:14 Pacific
OS: UNIX
Subcategory: General
Comment:

I wanted to know which Special characters will need to be escaped when i surround those in double quotes? for example if i enclose these in doublw quotes, do they really need to be escaped/

Special Charecters:
------------------------
$ \ # ? [ ] * + & ( ) | & ^ : ; ` ~ " /.

Your help is much appreciated.

Thanks
Shashi.



Sponsored Link
Ads by Google

Response Number 1
Name: tvc
Date: October 3, 2009 at 14:45:12 Pacific
Reply:

Just put each, one by one, into a command like :

echo "test$test"

See what happens


0

Response Number 2
Name: shashi_sysadmin
Date: October 6, 2009 at 11:52:27 Pacific
Reply:

Thanks tvc, i will test that.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Special Characters of the Korn shell

Functions in korn shell www.computing.net/answers/unix/functions-in-korn-shell/5022.html

Read first character of each Line www.computing.net/answers/unix/read-first-character-of-each-line/8088.html

korn shell help please www.computing.net/answers/unix/korn-shell-help-please/4364.html