2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd newtempdir/newdir/tmp/ with space dirs
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >./\ ab/c\"d/ef\ g.6
|
|
|
|
echo >\ ab/c\"d/efg.6
|
|
|
|
echo >./b/bar.6
|
|
|
|
echo >./b/foo.6
|
|
|
|
echo >./\ ab\ /c\'\ d/\ ef\"g.6
|
|
|
|
echo >./2-col.txt.6
|
|
|
|
echo >./a\ b/cd\ /\ ef/efg.6
|
|
|
|
./ ab/c"d/ef g.6
|
|
|
|
./ ab/c"d/efg.6
|
|
|
|
./b/foo.6
|
|
|
|
./b/bar.6
|
|
|
|
./ ab /c' d/ ef"g.6
|
|
|
|
./a b/cd / ef/efg.6
|
|
|
|
./2-col.txt.6
|
2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd /tmp/newtempdir/newdir/tmp/ with space dirs
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >./\ ab/c\"d/ef\ g.7
|
|
|
|
echo >\ ab/c\"d/efg.7
|
|
|
|
echo >./b/bar.7
|
|
|
|
echo >./b/foo.7
|
|
|
|
echo >./\ ab\ /c\'\ d/\ ef\"g.7
|
|
|
|
echo >./2-col.txt.7
|
|
|
|
echo >./a\ b/cd\ /\ ef/efg.7
|
|
|
|
./ ab/c"d/efg.7
|
|
|
|
./ ab/c"d/ef g.7
|
|
|
|
./2-col.txt.7
|
|
|
|
./b/bar.7
|
|
|
|
./b/foo.7
|
|
|
|
./ ab /c' d/ ef"g.7
|
|
|
|
./a b/cd / ef/efg.7
|
|
|
|
### Test --workdir ...
|
|
|
|
./2-col.txt.1
|
2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd ...
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >2-col.txt.2
|
|
|
|
./2-col.txt.2
|
2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd ... with space dirs
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >./\ ab/c\"d/ef\ g.3
|
|
|
|
echo >\ ab/c\"d/efg.3
|
|
|
|
echo >./b/bar.3
|
|
|
|
echo >./b/foo.3
|
|
|
|
echo >./\ ab\ /c\'\ d/\ ef\"g.3
|
|
|
|
echo >./2-col.txt.3
|
|
|
|
echo >./a\ b/cd\ /\ ef/efg.3
|
|
|
|
./ ab/c"d/ef g.3
|
|
|
|
./ ab/c"d/efg.3
|
|
|
|
./b/bar.3
|
|
|
|
./b/foo.3
|
|
|
|
./ ab /c' d/ ef"g.3
|
|
|
|
./2-col.txt.3
|
|
|
|
./a b/cd / ef/efg.3
|
2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd tmpdir
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >2-col.txt.4
|
|
|
|
./2-col.txt.4
|
2012-01-08 18:52:00 +00:00
|
|
|
### Test --wd /tmp/ with space dirs
|
2010-10-26 23:50:58 +00:00
|
|
|
echo >./\ ab/c\"d/ef\ g.5
|
|
|
|
echo >\ ab/c\"d/efg.5
|
|
|
|
echo >./b/bar.5
|
|
|
|
echo >./b/foo.5
|
|
|
|
echo >./\ ab\ /c\'\ d/\ ef\"g.5
|
|
|
|
echo >./2-col.txt.5
|
|
|
|
echo >./a\ b/cd\ /\ ef/efg.5
|
|
|
|
./2-col.txt.5
|
|
|
|
./ ab/c"d/ef g.5
|
|
|
|
./ ab/c"d/efg.5
|
|
|
|
./b/foo.5
|
|
|
|
./b/bar.5
|
|
|
|
./ ab /c' d/ ef"g.5
|
|
|
|
./a b/cd / ef/efg.5
|