Re: bash script globbing

2015-09-20 Thread rlharris
On Sun, September 20, 2015 3:28 pm, Loïc Grenié wrote: ... >> #!/bin/bash >> enscript --media=letter -2 --landscape --borders \ --header='$n|A.D. >> $D{%Y.%m.%d}|$* gmt | Page $% of $=' "$1" ... > Here "$1" means "for the first argument" > If enscript can work with several files together, you cn

Re: bash script globbing

2015-09-20 Thread Thomas Schmitt
Hi, rlhar...@oplink.net wrote: > enscript --media=letter -2 --landscape --borders \ > --header='$n|A.D. $D{%Y.%m.%d}|$* gmt | Page $% of $=' "$1" > ... > when I execute >enscript+ * > in a directory containing several files, enscript prints only the first > file in the directory. This

Re: bash script globbing

2015-09-20 Thread Loïc Grenié
2015-09-20 22:20 GMT+02:00 : > I have been using the following script (named "enscript+") as a substitute > for the package "a2ps": > > #!/bin/bash > enscript --media=letter -2 --landscape --borders \ > --header='$n|A.D. $D{%Y.%m.%d}|$* gmt | Page $% of $=' "$1" > Here "$1" means