Do not parse ls. Make a find invocation, ie `find /path/ -not -name $pattern`.-- PeteOn Apr 4, 2017 1:05 PM, "Patrick Dupre" <pdupre@gmx.com> wrote:Hello,
How can I put this command in a script file?
FILES=`ls -d !(*@(-e)).bib`
I get an error because of the (