Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in sed completion
- X-seq: zsh-workers 21992
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- Subject: Re: bug in sed completion
- Date: Wed, 9 Nov 2005 16:08:46 -0600
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20051109220554.GA3939@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20051109220554.GA3939@xxxxxxxxxxxxxxxxxxxxxxx>
In the last episode (Nov 09), Marc Chantreux said:
> Hi all,
>
> I've discovered a bug in the sed -i completion :
>
> % sed -i <tab>
> suffix for backup
> sed script
>
> that's right ... but :
>
> % sed -i 's/x//' <tab>
> sed script
>
> wrong ! sed script already written, it's time to give sed filenames.
Doesn't that mean you want your backup extension to be "s/x//" ? If
you don't want a backup, use -i "".
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author