This website requires JavaScript.
Explore
Help
Sign In
andrius
/
gash
mirror of
https://git.savannah.gnu.org/git/gash.git
Watch
1
Star
0
Fork
You've already forked gash
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d257dac0c6
gash
/
tests
/
60-subst.sh
10 lines
117 B
Bash
Raw
Normal View
History
Unescape
Escape
Support functions.
2018-11-04 19:45:40 +00:00
subst
(
)
{
sed
\
-e s
",foo,bar,"
\
$1
>
$2
}
Move test data to tests/data. * test/data/*: Move these... * tests/data: ...to this directory. * test/20-pipe-sed-cat.sh, test/20-pipe-sed-cat.stdout, test/20-pipe-sed.sh, test/20-pipe-sed.stdout, test/41-dot.sh, test/42-sh-export.sh, test/42-sh.sh, test/50-redirect-in-out.sh, test/50-redirect-in.sh, test/50-redirect-sed.sh, test/60-subst.sh, test/100-sed-autoconf-basename.sh, test/100-sed-file.sh, test/100-sed-fooRbar.sh, test/100-tar-Z-old.sh, test/100-tar-Z-old.stdout, test/100-tar-Z-pipe.sh, test/100-tar-Z-pipe.stdout, test/100-tar-Z.sh, test/100-tar-Z.stdout, test/100-tar-ro.sh, test/100-tar.sh, test/100-tar.stdout, test/100-tr.sh: Update references.
2018-12-16 03:20:04 +00:00
subst tests/data/foo foo.tmp
Support functions.
2018-11-04 19:45:40 +00:00
cat foo.tmp
rm foo.tmp