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

Re: replacing a textual part of all parameters in a cmd line



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