On Tuesday, April 4, 2017 3:02 PM, Patrick Dupre <[email protected]> wrote:




 
===========================================================================
Patrick DUPRÉ | | email: [email protected]
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
  
  
Sent: Tuesday, April 04, 2017 at 8:45 PM
From: "Antonio Olivares" <[email protected]>
To: "Community support for Fedora users" <[email protected]>
Subject: Re: LS in a script file
 

 
On Tuesday, April 4, 2017 1:05 PM, Patrick Dupre <[email protected]> wrote:
  
Hello,
 
How can I put this command in a script file?
FILES=`ls -d !(*@(-e)).bib`
 
I get an error because of the (
 
===========================================================================
Patrick DUPRÉ                                | | email: [email protected]
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale          | |
Tel.  (33)-(0)3 28 23 76 12                  | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann                | | 59140 Dunkerque, France
===========================================================================
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
 
 
Try adding a "\" before the "(" and see if it works?
 
> It tried, but same result.
 
Best Regards,
 
 
Antonio
 
_______________________________________________ users mailing list -- 
[email protected] To unsubscribe send an email to 
[email protected]
_______________________________________________
users mailing list -- [email protected]

To unsubscribe send an email to [email protected]

Did you try JD's suggestion?  ie., 


ls `[ ! \(*@\(-e\)\).bib ]`
?

Hope it works!

Best Regards,



Antonio 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to