On Nov 11, 2012, at 9:10 AM, Marc Hohl wrote:
> Message: 1
> Date: Sun, 11 Nov 2012 09:10:44 +0100
> From: Marc Hohl <[email protected]>
> To: [email protected]
> Subject: Re: helper function that should take a list argument doesn't
> do anything
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Am 10.11.2012 14:49, schrieb David Kastrup:
>> [...]
>>> -i isn't an option of touch. It is an option of rm. The touch places
>>> a file -i in the directory. At least with POSIX sort order, this is
>>> bound to come rather early in a directory listing, so if you have
>>> files a, b, c in the directory, rm * .o expands into rm -i a b c .o
>>> It does not help much if you have a sort order where - gets ignored,
>>> obviously.
> Hey, that's clever!
>
> Marc
Indeed, it is clever. However, it doesn't seem to work on a mac running OSX
10.7.5. I find that the command "touch .\-i" creates a file called ".-i",
which doesn't look like the "-i" option to the rm command.
I can get it to work with any of these commands:
touch "-i"
touch -- -i
echo > -i
Pat
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user