[GE users] how can configure SGE for different request of jobs

reuti reuti at staff.uni-marburg.de
Sat Aug 28 17:47:55 BST 2010

Am 28.08.2010 um 15:29 schrieb mlelstv:

> On Sat, Aug 28, 2010 at 02:42:56PM +0200, reuti wrote:
>> *) I find it somewhat inconsequent, that the bash will on the one hand replace "mpi*" with the list of filenames, in case there are any starting with "mpi" . But on the other hand forward the plain asterisk in case there are none - the list should simply be empty then.
> That's a feature. Most programs called by the shell will then just
> use the wildcard string as a filename and report that the file does
> not exist. Most often this is a useful behaviour. E.g.:
> $ rm *.bak
> rm: cannot remove `*.bak': No such file or directory
> while an empty list would make rm print the usage message.
> In bash you can enable the 'empty list' behaviour with 'shopt -s nullglob'.

Thx for the hint.

This will also ease some `for` loops in scripts.

-- Reuti

> Greetings,
> -- 
>                                Michael van Elst
> Internet: mlelstv at serpens.de
>                                "A potential Snark may lurk in every tree."
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=277696
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list