commit bash-20150612 snapshot

This commit is contained in:
Chet Ramey
2015-06-17 08:34:54 -04:00
parent 1573ba78f3
commit bd6a350e7e
20 changed files with 220 additions and 53 deletions
+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