freebsd-nq/bin/sh/tests/builtins/echo2.0
2016-09-02 21:13:46 +00:00

8 lines
144 B
Plaintext

# $FreeBSD$
# Not specified by POSIX.
a=`echo -e '\a\b\e\f\n\r\t\v\\\\\0041\c'; echo .`
b=`printf '\a\b\033\f\n\r\t\v\\\\!.'`
[ "$a" = "$b" ]