bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange file -i


From: Chet Ramey
Subject: Re: Strange file -i
Date: Thu, 05 Mar 2015 15:20:44 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 3/4/15 6:07 PM, Stephane Chazelas wrote:
> 2015-03-04 09:25:46 -0600, John McKown:
>> On Wed, Mar 4, 2015 at 7:43 AM, Eric Blake <address@hidden> wrote:
>>> On 03/04/2015 01:44 AM, Jean Delvare wrote:
>>>> Hi Chet,
>>>>
>>>> Did you really intend to create an empty file named "-i" in
>>>> http://git.savannah.gnu.org/cgit/bash.git/diff/?id=43aebe922bc2a614c410e282fdf772e063454168
>>>>  ?
>>>
>>> Yes: https://lists.gnu.org/archive/html/bug-bash/2014-07/msg00075.html
>>
>> Oh, wow, man! That is like, so totally awesome. [grin]. Sorry for
>> being silly, but I absolutely _love_ this and I am going to adopt it
>> for some of my subdirectories which contain "important" (at least to
>> me) files.
> [...]
> 
> I wouldn't.

Clearly you have to be aware of your own work habits before deciding
whether this is appropriate for you.

For example, I never do this:

> $ perl -ne 'print if /foo/' *

I just use grep directly.

Or this:

> rm -- *



-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]