Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: s/pattern/pattern/g on the commandline ?
- X-seq: zsh-users 16788
- From: Moritz Bunkus <moritz@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: s/pattern/pattern/g on the commandline ?
- Date: Sat, 25 Feb 2012 19:46:36 +0100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of moritz@xxxxxxxxxx designates 10.182.155.68 as permitted sender) smtp.mail=moritz@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunkus.org; s=mail201007; t=1330195607; bh=a/6AEJRlSL5+xfzVn6+WJ1USvnmnwJ++Wn5snzdfi8c=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type; b=b+pHplWvKsj1GRNA0vHbzbpif/XEASO5wDLWRJzcmQWx2b84u7sXMeZGFxLvFZQ0a Ud/6yU/eLTpEkaQWY5YygiYKD2zEQ8Dq6OLTQNl6qYh7ejXmkQJsMkPe1jOK5Ou80B Ob6E2iJMx8vVvyXlrMEuzZdnHAWlQLbBZ5gLu/U4=
- In-reply-to: <CAFOazAN6DK5eQ9hZBNAm-HwCtsF4B4S9_y8g5mYTwEmZC=h09w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20120225182450.GA31597@solfire> <CAFOazANiYPxbbLC1UULgUznU_4mA+5W0gYPOKh5LEvAaXdVqBA@mail.gmail.com> <CAFOazAN6DK5eQ9hZBNAm-HwCtsF4B4S9_y8g5mYTwEmZC=h09w@mail.gmail.com>
Hey,
while we're at it: is there a way to do history expansion without
actually submitting the modified entry? Meaning I would like to verify
that my regex fu was strong enough to produce the correct command
before submitting it. "!!:gs/what/ever" executes the command directly
if I'm not mistaken.
Kind regards,
mo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author