Imported from ../bash-2.05b.tar.gz.
This commit is contained in:
parent
f73dda092b
commit
7117c2d221
362 changed files with 34387 additions and 15063 deletions
9
examples/scripts/self-repro
Normal file
9
examples/scripts/self-repro
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# self-reproducing script (except for these comment lines -- remove them)
|
||||
# i got this from the ksh93 faq:
|
||||
# http://www.kornshell.com/doc/faq.html
|
||||
#
|
||||
n="
|
||||
" q="'" x="cat <<-!" y=! z='n="$n" q="$q" x="$x" y=$y z=$q$z$q$n$x$n$z$n$y'
|
||||
cat <<-!
|
||||
n="$n" q="$q" x="$x" y=$y z=$q$z$q$n$x$n$z$n$yb
|
||||
!
|
||||
Loading…
Add table
Add a link
Reference in a new issue