On 17/07/14 21:51, Brett Pemberton wrote:
> On Thu, Jul 17, 2014 at 9:35 PM, Daniel Jitnah
> <[email protected]> wrote:
>>> I'd have the same response to someone using _ instead of a space.
>>> Why bother?
>> May be because:
>>
>> danyj@git-deb7-64:~/test$ touch windows
>> danyj@git-deb7-64:~/test$ touch 7
>> danyj@git-deb7-64:~/test$ touch windows\ 7
>> danyj@git-deb7-64:~/test$ ls -l
>> total 0
>> -rw-r--r-- 1 danyj danyj 0 Jul 17 21:23 7
>> -rw-r--r-- 1 danyj danyj 0 Jul 17 21:23 windows
>> -rw-r--r-- 1 danyj danyj 0 Jul 17 21:23 windows 7
>> danyj@git-deb7-64:~/test$ rm -rf windows 7
>> danyj@git-deb7-64:~/test$ ls -l
>> total 0
>> -rw-r--r-- 1 danyj danyj 0 Jul 17 21:23 windows 7
>> danyj@git-deb7-64:~/test$
>>
> Sorry, I'm honestly at a loss as to what you were demonstrating there.
> Let's do the same thing, but with underscores.
>
> brett@capsid:/tmp/space$ touch windows
> brett@capsid:/tmp/space$ touch 7
> brett@capsid:/tmp/space$ touch windows_7
> brett@capsid:/tmp/space$ ls -l
> total 0
> -rw-rw-r-- 1 brett brett 0 Jul 17 21:50 7
> -rw-rw-r-- 1 brett brett 0 Jul 17 21:50 windows
> -rw-rw-r-- 1 brett brett 0 Jul 17 21:50 windows_7
> brett@capsid:/tmp/space$ rm -rf windows 7
> brett@capsid:/tmp/space$ ls -l
> total 0
> -rw-rw-r-- 1 brett brett 0 Jul 17 21:50 windows_7
> brett@capsid:/tmp/space$
>
> In both cases, it did exactly what we asked it to.
> Spaces had absolutely no bearing on anything.
>
>    

Yes, it did do exactly what was asked - but not exactly what was 
intended (to retain "windows" and "7" whilst removing the other).

Crispy.

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to