[Lunar-bugs] [bug] lrm and files with spaces in their names
lunar-bugs at lunar-linux.org
lunar-bugs at lunar-linux.org
Sun Dec 19 12:11:17 UTC 2004
Project: lunar-linux
ID:
Version: <none>
Component: theedge (core tools)
Category: bug reports
Priority: normal
-Assigned to: <unassigned>
+Assigned to: sofar
Reported by: v3rt1g0
Updated by: sofar
-Status: active
+Status: fixed
Committed a fix: Added "" around the calls to properly combine $@ into
$1
sofar
Previous comments:
------------------------------------------------------------------------
Sun, 12/19/2004 - 02:25 : v3rt1g0
calling 'lrm njam' on the installed njam module produces an error
message of:
+ remove_something: no such file "/usr/games/njam/levels/RAVENS"!
because it is attempting to remove the file:
'/usr/games/njam/levels/RAVENS CURSE.COOP' (note the space).
The issue is that the remove_something() method in lrm is being passed
that entire string ($@) but is only acting on $1 which is just
'/usr/games/njam/levels/RAVENS' So either this method should be
internally using $@ everywhere or we need to escape characters going
into this method.
Using theedge: 20041219 (This may effect lunar as well, but did not
check)
--
View: http://lunar-linux.org/?q=node/view/634
Edit: http://lunar-linux.org/?q=project/comments/add/634
More information about the Lunar-bugs
mailing list