Dunno why 152 doesn't work... I get the same socks:/vm/libcam/327/09# echo "\152" \152
152 octal should be a j when echoed. However, a lower value does work... As reported by od socks:/vm/libcam/327/09# echo "\005" socks:/vm/libcam/327/09# echo "\005" | od 0000000 005005 0000002 Explaination anyone? Possible cause - the above was done with the echo command built into tcsh. If I invoke /bin/echo "\005" then I get \005 printed. So possibly variations in shells will cause different results. -----Original Message----- From: Volker Kuhlmann [mailto:[EMAIL PROTECTED] Sent: Monday, 22 November 2004 9:08 p.m. To: [EMAIL PROTECTED] Subject: Re: Getting rid of illegal characters in filenames > echo -e "\NNN" where NNN is the ascii number of the offending character. Sure, like this? > echo -e '\152' -e \152 Volker
