sh: Add $'quoting' (C-style escape sequences).
[dragonfly.git] / tools / regression / bin / sh / parser / dollar-quote5.0
1 # $FreeBSD: src/tools/regression/bin/sh/parser/dollar-quote5.0,v 1.2 2011/06/07 08:46:13 attilio Exp $
2
3 # This depends on the ASCII character set.
4
5 set -e
6
7 [ $'\ca\cb\cc\cd\ce\cf\cg\ch\ci\cj\ck\cl\cm\cn\co\cp\cq\cr\cs\ct\cu\cv\cw\cx\cy\cz' = $'\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032' ]
8 [ $'\cA\cB\cC\cD\cE\cF\cG\cH\cI\cJ\cK\cL\cM\cN\cO\cP\cQ\cR\cS\cT\cU\cV\cW\cX\cY\cZ' = $'\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032' ]
9 [ $'\c[' = $'\033' ]
10 [ $'\c]' = $'\035' ]
11 [ $'\c^' = $'\036' ]
12 [ $'\c_' = $'\037' ]