Talk:DIR
From FreeBSDwiki
(Difference between revisions)
Ninereasons (Talk | contribs) (→grep > simple wildcarding) |
m (Reverted edits by 77.92.233.198 (Talk) to last revision by Jimbo) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 10: | Line 10: | ||
: Ok. But how do the examples illustrate this? [[User:Ninereasons|Ninereasons]] 14:44, 21 June 2006 (EDT) | : Ok. But how do the examples illustrate this? [[User:Ninereasons|Ninereasons]] 14:44, 21 June 2006 (EDT) | ||
+ | |||
+ | == perhaps they don't == | ||
+ | |||
+ | I dunno, perhaps the examples here don't? if that bugs you, maybe a link to the page for grep (or somewhere else that we have demonstrated OMG TEH POWAR OF TEH REGULAR EXPRSSION) would be appropriate? --[[User:Jimbo|Jimbo]] 20:32, 21 June 2006 (EDT) |
Latest revision as of 16:28, 1 August 2011
[edit] 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)
[edit] 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.
- Ok. But how do the examples illustrate this? Ninereasons 14:44, 21 June 2006 (EDT)
[edit] perhaps they don't
I dunno, perhaps the examples here don't? if that bugs you, maybe a link to the page for grep (or somewhere else that we have demonstrated OMG TEH POWAR OF TEH REGULAR EXPRSSION) would be appropriate? --Jimbo 20:32, 21 June 2006 (EDT)