I feel stupid -- determine the full path to a file

Andrew McNabb amcnabb at mcnabbs.org
Thu Dec 6 15:09:34 MST 2007

On Thu, Dec 06, 2007 at 02:58:14PM -0700, Dave Smith wrote:
> xargs?

So my example was bad.  (of course, I wasn't thinking about xargs when I
ran into that problem a while back). :)

But my main point still stands.  Namely, if you're trying to do
something really complex, Bash tends to flake out on you.

If you don't like my example, I'm sure I could dig up some script that
has strings that look like "\\\\\\"\\\\"some string \\\\"\\\\\\"", where
all of the backslashes only exist so that escaping will happen properly
at some later point in the script. :(

Andrew McNabb
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868

More information about the PLUG mailing list