Web lists-archives.com

Re: a quick tip that sometimes saves a lot of further worries




Greg Wooledge wrote:
...
> The ./ breaks the function if you give it absolute pathnames.  Replace
> this last line with cat -- "$arg" instead.
>
> A "clever" version of this part of the function that does something
> similar in a more compact form is:
>
> tail -n +1 -- "$@"
>
> I didn't write that and can't claim credit for it, but I don't know who
> did, so I can't give appropriate credit either.

  we all can be clever in different ways.  :)

  i'm usually pretty good at doing things oddly enough
that i make a good test subject.

  tks, i'll stash this reply too...


  songbird