freebsd-dev/bin/sh/tests/parameters/positional6.0
Jilles Tjoelker 3fb51b3a43 Treat IFS separators in "$*" as quoted.
This makes a difference if IFS starts with *, ?, [ or a CTL* byte.
2014-10-28 22:14:31 +00:00

8 lines
62 B
Plaintext

# $FreeBSD$
IFS=?
set p r
v=pqrs
r=${v#"$*"}
[ "$r" = pqrs ]