One of my #Linux command-line superpowers that I don't think I have seen anywhere else:
% some-command $(cat)
Use with copy-paste of a multi-line text.
One of my #Linux command-line superpowers that I don't think I have seen anywhere else: % some-command $(cat) Use with copy-paste of a multi-line text. 3 comments
[DATA EXPUNGED]
@bjoern I don't know how xargs deals with aliases and local env vars, and $PATH etc. So possibly. I like $(cat) because I know exactly what will happen. |