C. Falconer wrote:
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?

From "man bash" <ouch!>

echo [-neE] [arg ...]
Output the args, separated by spaces, followed by a newline. The return status is always 0. If -n is specified, the trailing newline is suppressed. If the -e option is given, interpretation of the following backslash-escaped characters is enabled.



echo -e '\152'

# echo -e '\152' j

Cheers, Rex

Reply via email to