[Cialug] find it already!

Zachary Kotlarek zach at kotlarek.com
Sat May 24 23:50:49 CDT 2008


On May 24, 2008, at 7:56 AM, Todd Walton wrote:

> todd at localhost:~$ find `pwd` -regex * -print
> find: paths must precede expression
> Usage: find [-H] [-L] [-P] [path...] [expression]
>
> Why?  Why oh why?  Why does find always do this to me?  What the hell
> does `pwd` look like if not a path?

You mean:
	find `pwd` -regex '*' -print

Your shell expands * to match all files in the current directory,  
which is probably not what you mean.

	Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1682 bytes
Desc: not available
Url : http://cialug.org/pipermail/cialug/attachments/20080524/08e36a56/smime.bin


More information about the Cialug mailing list