On 3/5/15 3:52 PM, Stephane Chazelas wrote:
> 2015-03-05 15:20:44 -0500, Chet Ramey:
> [...]
>> For example, I never do this:
>>
>>> $ perl -ne 'print if /foo/' *
>>
>> I just use grep directly.
>
> That was just a basic example.
>
> What about:
>
> sed 's/foo/bar/g' *
>
> ?
Yes, I literally never do that.
>
>> Or this:
>>
>>> rm -- *
> [...]
>
> Then, you're in for some bad surprise some day.
Not yet. I do use ./* when necessary. This all reinforces my point.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/