Opened 10 years ago

#1312 new defect

Behavior of -e/-o inconsistent

Reported by: Reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords:


The command line options -e/-o to qsub allow also file and directory names which includes spaces or other special characters when they are enclosed in quotes. This can't be put inside the jobscript by the "#$" lines, as a) quotes can't be used there, b) a space ends the current option.

To have a constant behavior it would be best to either:

  • disallow spaces also on the commandline by checking the argument


  • change "#$" interpretation to force -e/-o be the last entry on a line and all up to the next lines feed is taken as argument (tricky if you have spaces after the last word).

Change History (0)

Note: See TracTickets for help on using tickets.