Opened 5 years ago

Last modified 4 years ago

#13040 new defect

Function list_remove() in /etc/ may leave a leading space in resulting list

Reported by: stefan@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: 10.03.1
Keywords: Cc:


If you have an option list and use the list_remove function from /etc/ to remove the first item in the list, a leading space character remains in the resulting list:

# v="test1 test2 test3"
# list_remove "v" test1
echo "|$v|"
| test2 test3|

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.