Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: replacing a textual part of all parameters in a cmd line
- X-seq: zsh-users 16487
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: replacing a textual part of all parameters in a cmd line
- Date: Fri, 14 Oct 2011 23:56:52 -0700
- In-reply-to: <20111015062430.GA3088@solfire>
- 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: <20111015062430.GA3088@solfire>
On Oct 15, 8:24am, meino.cramer@xxxxxx wrote:
}
} !30007:s/front/side1/g
}
} which gaves me the same result as above.
Actually if you looked closely I think you'd find that it gave
you the result as before except with a "g" added at the end.
} What is the correct command to change all parameters of the command
} line as described above?
You put the g at the front.
!30007:gs/front/side1/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author