admin-> ls
1536 320 400 640 800 PC090018.JPG
[~/public_html/images/2010/2010-12-09]
admin-> clisp ~/bin/rcd/prepare-images.lisp *.JPG *.jpg *
(PC090018.JPG *.jpg 1536 320 400 640 800 PC090018.JPG)
[~/public_html/images/2010/2010-12-09
Above is the result of the clisp on command line. I am using development version, latest.
The script is just showing the arguments.
If there is no file with lowercased *.jpg this argument is then not deleted from the argument list. I general the arguments shall be expaned, and if wildcard argument does not expand to any files, then it should not be in the argument list as "*.jpg"
Jean
... as "*.jpg"
On Mon, Nov 20, 2017 at 01:50:42PM -0000, Sam Steingold wrote:
I was testing with perl, and it was removing those
arguments.
Alright, now I just need to remove them myself.
Thanks for letting me know.
Jean
This is not a bug in CLISP, but rather the normal well-documented unix shell behavior.
Try
echo *.JPG *.jpgto see whih arguments the shell passes to CLISP.Diff: