On 4/21/06, Gora Mohanty <[EMAIL PROTECTED]> wrote:
>
> --- Tanveer Singh <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I am using the find command like this
> >
> > find <somedir> -name "somaname" -exec find {} -name "somefile" \;
> > This works fine.
> [...]
>
> Maybe it would help if you explained what you are trying to achieve.
> This seems incredibly convoluted, and a nightmare for anyone who has
> to maintain your code in the future. Why not store the results of the
> first find command in a temporary variable?
>
No code to maintain. I am using it on command line. And the code is does not
get convulated with the solution mentioned. Anybody who can write perl can
understand this code :)
Tsk
_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to