You're viewing a comment by James and its responses.

April 16, 2010, 06:32

You haven't made it clear in your sheet that you can do:
$ echo foo bar baz
foo bar baz
$ echo !$ - !^ - !*
baz - foo - foo bar baz

Comment Responses

bernard Permalink
September 03, 2012, 17:58

Nice one!

I actually found !* by trial-and-error.

@pkrumins: if you could add those !^ !* to your article, it would be nice :)

By the way, really nice blog and tutorials! I came here by looking for awk one liners, to finally go back to perl thanks to your perl one-liner series :)
Thanks a lot!

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "network_42": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.