Opened 10 years ago
Closed 10 years ago
#1272 closed defect (fixed)
IZ3288: load/save_sge_config.sh's "usage" output in one line only
Reported by: | reuti | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 6.2u5 |
Severity: | minor | Keywords: | clients |
Cc: |
Description (last modified by admin)
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3288]
Issue #: 3288 Platform: All Reporter: reuti (reuti) Component: gridengine OS: All Subcomponent: clients Version: 6.2u5 CC: None defined Status: NEW Priority: P3 Resolution: Issue type: DEFECT Target milestone: --- Assigned to: roland (roland) QA Contact: roland URL: * Summary: load/save_sge_config.sh's "usage" output in one line only Status whiteboard: Attachments: Issue 3288 blocks: Votes for issue 3288: Opened: Sun Oct 24 05:56:00 -0700 2010 ------------------------ The scripts "load/save_sge_config.sh" use one `echo` command to display its usage. The default under Linux's `echo` is not to interpret the escape sequences and will result in one long line only, although the intention was to have it printed out on several ones. This might be different on other platforms though. Snippet to get the correct behavior would be to add a "-e" to allow that escape sequences will be honored (works with the plain /bin/echo or bash's builtin): INFOTEXT=echo nonewline=`$INFOTEXT "\n"` if [ "$nonewline" == "\n" ]; then INFOTEXT="echo -e" fi
Change History (1)
comment:1 Changed 10 years ago by admin
- Description modified (diff)
- Resolution set to fixed
- Severity set to minor
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed by [3606].