a *very* odd question especially for me. Janina Sajka <janina at rednote.net> wrote
Willem van der Walt
wvdwalt at csir.co.za
Wed Jul 29 11:06:05 UTC 2015
The loop in a script suggested earlier to work on a number of files would
e.g. fail on file names containing spaces.
Some characters like & and ! can also produce some rather interesting
results in scripts.
Regards, Willem
On Wed, 29 Jul 2015, Christopher Chaltain wrote:
> How is dealing with file names with blanks in them awkward? I put those file
> names in quotes, just like I do in Windows and other operating systems. Maybe
> DOS and the old 8.3 file names didn't support spaces in them, but I would
> hardly consider this to be an advantage of DOS over Linux.
>
> On 07/29/2015 12:50 AM, Willem van der Walt wrote:
>> Hi,
>> You said:
>> for example, dealing with filenames
>> that contain spaces is awkward.
>> One of the best things about unix, is that some one else likely had the
>> same problem as what you are having now.
>> There is likely a tool written to solve exactly one's problem.
>> In the case of spaces in file names as well as other characters that can
>> cause problems, the tool is called detox.
>> It, for example, changes the & character into the word and.
>> People using GUIs invariably create those sentences for file names,
>> punctuation and all!
>> Regards, Willem
>>
>>
>> On Tue, 28 Jul 2015, Joel Roth wrote:
>>
>>> Janina Sajka wrote:
>>>> I love scripting. It's fun, and it solves problems for me.
>>>
>>> There is a version of Linux, GoboLinux, with major utilities written
>>> as shell scripts.
>>>
>>> **And** there are some well-known limitations and
>>> infelicities in bash, for example, dealing with filenames
>>> that contain spaces is awkward.
>>>
>>> Joel
>>>
>>>> Janina
>>>>
>>>
>>> --
>>> Joel Roth
>>>
>>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>>> --
>>> This message is subject to the CSIR's copyright terms and conditions,
>>> e-mail legal notice, and implemented Open Document Format (ODF) standard.
>>> The full disclaimer details can be found at
>>> http://www.csir.co.za/disclaimer.html.
>>>
>>> This message has been scanned for viruses and dangerous content by
>>> MailScanner,
>>> and is believed to be clean.
>>>
>>> Please consider the environment before printing this email.
>>>
>>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>
> --
> Christopher (CJ)
> chaltain at Gmail
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
> --
> This message is subject to the CSIR's copyright terms and conditions, e-mail
> legal notice, and implemented Open Document Format (ODF) standard. The full
> disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
> Please consider the environment before printing this email.
>
>
More information about the Blinux-list
mailing list