parallel/testsuite/wanted-results/test29
Ole Tange 8865cbb10f parallel: Argument handling re-written to OO.
The code is quite messy, the implementation is fairly slow, but the
structure seems sound and it passes the testsuite.
basename {/} and {/.} implemented.
Flushing of STDERR and STDOUT after each job completes.
2010-11-22 10:35:53 +01:00

72 lines
1,016 B
Plaintext

### Test of quoting of > bug
>/dev/null
### Test of quoting of > bug if line continuation
> > >
### Test of --trim illegal
parallel: --trim must be one of: r l rl lr
### Test of eof string on :::
foo
### Test of ignore-empty string on :::
foo
ole
bar
### Test of trailing space continuation
foo ole bar
quux
foo ole bar
quux
foo ole bar
quux
### Test of trailing space continuation with -E eof
foo ole
foo ole
foo ole
### Test of --colsep
a b c
a b c {4}
a b c d
a b c
d e f
a b c
d e f
a b c
a b c {4}
a b c d
### Test of tab as colsep
abc def
ghi jkl
abc def
ghi jkl
### Test of multiple -a plus colsep
abc def
mno jkl
### Test of multiple -a no colsep
abc def ghi
jkl mno pqr
### Test of quoting after colsplit
>/tmp/null >/dev/null
### Test of --colsep as regexp
a b c {4}
a b c d
a b c {4}
a b c d
a b c {4}
a b c d
a_b_c_{4}
a_b_c_d
### Test of -C
a_b_c_{4}
a_b_c_d
### Test of --trim n
a_b_\ c\ _{4}
a_\ b\ _c_d
a_b_c_{4}
a_b_c_d
### Test of bug: If input is empty string
echo {2}
{2}
echo ac
ac
echo ac
ac