Re: : Re: : bash script issue

"D. Hugh Redelmeier" <[email protected]> Mon, 18 Aug 2014 11:32:32 -0400 (EDT)
Newsgroups gmane.org.user-groups.linux.tolug
Message-ID <[email protected]>
| From: Peter <plpeter2006-/[email protected]>

| William Muriithi <william.muriithi@...> writes:
| > '004378858 (152).jpg'
| 
| One tip: bash has POSIX conventions and one of those is: "any number that
| starts with 0 is octal". Yes, OCTAL. Therefore, AVOID using such filenames
| most of the time.

I don't remember an ordinary shell context where a pathname can be
confused with number.  Can you give an example?

I think that this kind of thing is true in a variety of scripting 
languages that try to figure out the programmer's intent without 
explicit typing.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists