pavement

Talk:DIR

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(Best in what sense?)
 
(grep > simple wildcarding)
Line 4: Line 4:
  
 
What is "best" about this? [[User:Ninereasons|Ninereasons]] 20:02, 19 June 2006 (EDT)
 
What is "best" about this? [[User:Ninereasons|Ninereasons]] 20:02, 19 June 2006 (EDT)
 +
 +
== grep > simple wildcarding ==
 +
 +
"best" in the sense that you get far more fine grained control out of piping to grep than you would with the use of simple wildcards.

Revision as of 12:23, 21 June 2006

Best in what sense?

ls is best combined with grep if you plan on doing any filtering: dir *.txt is equivalent to ls | grep .txt, and dir boogy*.* is equivalent to ls | grep boogy.

What is "best" about this? Ninereasons 20:02, 19 June 2006 (EDT)

grep > simple wildcarding

"best" in the sense that you get far more fine grained control out of piping to grep than you would with the use of simple wildcards.

Personal tools