Karl Pearson wrote: > 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.
The difficulty is in doing this. Once the shell has the value with the '\' in it, it becomes very hard to manipulate it. You might get away with doing a 'tr' or a 'sed' in between the 'find ... -print' and the 'while read', but you'd have to be very clever with the escaping of your escapes in the sed script or the tr strings. Cheers, Ken > LeRoi Keiller wrote: >> 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 ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
