Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "\rm -f" stops after the 1st glob not found



On Aug 16,  2:34pm, zzapper wrote:
}
} I have the following but it doesn't or no longer works??
} 
} ls *.{jpg,gif}(.N) # do not break if one or other image type absent

"Doesn't" in what way?

If you do that in a directory that has *neither* .jpg *nor* .gif files,
"ls" will be invoked with no arguments.  Might that be what happened?



Messages sorted by: Reverse Date, Date, Thread, Author