Try putting two \\ so the escape will be used as it was meant to be, to keep special characters from being treated like special characters.
I.e. \* \? \\ etc. Karl On Thu, 2004-06-10 at 15:52, LeRoi Keiller wrote: > A number of our uniVerse files have the \ symbol in the file names. Problem > is, at unix level, these \ fellows are usually treated as 'escape' > characters and ignored or removed when you try to reference them. Eg: echo > "hello\there" displays "hellothere". > > Does anyone know how to ensure that the unix shell treats these as literal > text? Note that {}, quotes, and double-quotes don't seem to work. > > To elaborate (you can ignore this if you like)... > > Cutdown example of what I'm trying to do (ksh): > > $ ls TRAN* > TRAN.EXT-14320S1??\4-DF > TRAN.EXT-14320S1??\5-DF > (note the '\' in the file names) > $ find TRAN* -print | while read file > do > ls -l $file" > done > TRAN.EXT-14320S1??4-DF not found > > Note: The 'find' produces the correct names, but subsequent unix commands > missinterpret the meaning. Because the '\' is stripped, the ls command > tries to list D_TRAN.EXT-14320S1??4-DF instead of TRAN.EXT-14320S1??\4-DF, > and of course the file is not found. > > Any ideas? > > Thanks, > LeRoi > > LeRoi Keiller > Technical Support Consultant > > Ultradata - Vision to Reality > +61 3 9291 1700 > www.ultradata.com.au > > > > Disclaimer Notice > This message contains privileged and confidential information intended only > for the use of the addressee named above. If you are not the intended > recipient of this message you are hereby notified that you must not > disseminate, copy or take any action or place any reliance on it. If you > have received this message in error please notify Ultradata immediately on > +61 3 9291 1600. Any views expressed in this message are those of the > individual sender, except where the sender specifically states them to be > the views of Ultradata Australia Pty. Ltd. > > To unsubscribe from receiving commercial electronic messages from Ultradata > Australia please email [EMAIL PROTECTED] with the subject heading > "Unsubscribe". > ------- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ -- Karl L. Pearson Director of IT, ATS Industrial Supply Direct: 801-978-4429 Toll-free: 888-972-3182 x29 Fax: 801-972-3888 http://www.atsindustrial.com [EMAIL PROTECTED] ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/