echo "\\1"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According the man pages, for echo command, "\\" should print '\'
character, and \0digits should print the byte in octal base.
But the command

echo "\\1"

outputs the byte 0x01 in hexadecimal (or 001 in octal).
Is this a bad behavior or is intentional?

Bosco.
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux