#1496 closed defect (fixed)

Add support for quoted parameters in shell

Reported by: nopscmn Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: shell Version: 4.10
Severity: normal Keywords:
Cc: chrisj@… Blocked By:
Blocking:

Description

In the RTEMS shell there is no mechanism for send to command parameter containing spaces. Attached patch adds this functionality.

For example:
mnt $ ls -l
drwxr-xr-x 1 root root 0 Jan 1 00:01 dir with spaces
drwxr-xr-x 1 root root 0 Jan 1 00:01 flash
mnt $ cd dir with spaces
chdir to '/mnt/dir' failed: No such file or directory
mnt $ cd "dir with spaces"
with spaces $

Attachments (1)

makeargs_q.patch (1.0 KB) - added by nopscmn on Feb 21, 2010 at 8:37:27 PM.
Parse quoted commands and parameters

Download all attachments as: .zip

Change History (2)

Changed on Feb 21, 2010 at 8:37:27 PM by nopscmn

Attachment: makeargs_q.patch added

Parse quoted commands and parameters

comment:1 Changed on Mar 11, 2010 at 2:35:41 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Thanks. Patch applied to CVS head.

Note: See TracTickets for help on using tickets.