Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bug in sed completion



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