commit bash-20150612 snapshot

This commit is contained in:
Chet Ramey committed 2015-06-17 08:34:54 -04:00
1 parent 1573ba78f3
commit bd6a350e7e
20 files changed
+220 -53

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
THIS=alias2
FN=$THIS.script
cat > $FN <<'EOF'
#
(echo "$1")
EOF
chmod u+x $FN
shopt -s expand_aliases
alias foo1='$FN one; source $FN two; source $FN three; $FN four'
alias foo2='$FN one
source $FN two
source $FN three
$FN four'
foo1
foo2
rm -f $FN