Skip to main content

Questions tagged [fish]

Fish is a unix shell with a clean design and a limited but powerful feature set.

Filter by
Sorted by
Tagged with
281 votes
13 answers
336k views

Execute a command once per line of piped input?

I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \; but I'm curious about the general case - is there an ...
Xodarap's user avatar
  • 3,733
3 votes
1 answer
345 views

Does Fish have a "magic space"?

I gather that bash has a "magic space" function, where if I do e.g. sudo !!<space> it will blow in sudo ./my_last_command. Does something similar exist in fish?
Xodarap's user avatar
  • 3,733

1 2 3 4 5
6