Discussion Locked

Escaping "&" in SOLARIS

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When I write a file name containing "&" its get stored in SOLARIS file system as "&".
Though i tried with escape sequence, the "&" is still gets stored as "&".

Is there anyone to give a solution on escape sequencing ampersand in UNIX. Kindly pass the code examples to eliminate the concatenation of "amp;" with "&".

Thanks in Advance.

Manohar
psmanohar@officetiger.com
OfficeTiger Database Systems India Pvt. Ltd.

+--EOM--+

3 replies

by ken.cunningham

I'm not sure I understand the question, but & can be escaped as part of a file name by preceding it with \, ie \&

Hope this helps, if not post again with exactly wha you're trying to do, with an example. Best wishes.

This discussion is closed to new replies.