Re: OT: Bash Scripting Question
On Monday 11 April 2005 12:28 am, Steve Lamb wrote:
> Hal Vaughan wrote:
> > On Sunday 10 April 2005 11:29 pm, Steve Lamb wrote:
> >>Hal Vaughan wrote:
> >>>But if you do a ls -R, it won't give you the pathnames for the files in
> >>>subdirectories.
> >>
> >> Wrong. I'll leave it as an exercise to the reader to figure out what
> >>ls -R does and how it does it. Consider it a good hint to always run the
> >>command(s) in question before stating what they don't do. ;)
> >
> > I did run it. It didn't give the output I've been talking about since
> > the start of the thread.
>
> But it does give you the pathname for the files in subdirectories.
> ./Desktop:
> total 4
> drwxr-xr-x 2 grey grey 384 2005-01-03 12:57 Trash
> -rw-r--r-- 1 grey grey 184 2005-02-02 18:28 Yohoho! Puzzle Pirates.desktop
>
> > I think we've got a misunderstanding because I didn't
> > specify, in that post, that by full pathname, I meant with the filename.
>
> No, no misunderstanding. You didn't state with the filename so your
> complete statement was that it didn't do it at all. I was clarifying to
> point out that it does, just not in the format desired. Those are two
> different conditions and certainly one worth mentioning in case someone
> else comes in mid-thread on your message and thinks ls doesn't give it at
> all. ;)
But I did in the original post that started the entire discussion. I was
speaking in the context of the entire thread, which may not have been
obvious.
Hal
> --
> Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
> PGP Key: 8B6E99C5 | main connection to the switchboard of
> souls.
> -------------------------------+-------------------------------------------
>--
Reply to: