source: vendor/bash/3.1/tests/tilde.tests@ 3230

Last change on this file since 3230 was 3228, checked in by bird, 19 years ago

bash 3.1

File size: 1.1 KB
RevLine 
[3228]1# this is needed because posix mode restricts tilde expansion to assignment
2# statements preceding a command, instead of the default of expanding all
3# assignment statements on the line (e.g., after `export'). Without this,
4# the next-to-last test fails
5set +o posix
6
7HOME=/usr/xyz
8SHELL=~/bash
9echo ~ch\et
10echo ~/"foo"
11echo "~chet"/"foo"
12echo \~chet/"foo"
13echo \~chet/bar
14echo ~\chet/bar
15echo ~chet""/bar
16echo ":~chet/"