3 ms·
I tried to figure out how to make xargs read from a file instead of stdin, and was unsuccessful. "xargs -a <filename>" First option described in the man pa
by Estragon 17y ago
I tried to figure out how to make xargs read from a file
instead of stdin, and was unsuccessful.
"xargs -a <filename>" First option described in the man page on Red Hat.
- lg 17y agocould be a GNU vs. BSD thing.
- silentbicycle 17y agoBSD xargs doesn't seem to have the -a option.
- jrockway 17y agoMy home machine (Debian GNU/Linux) says "--arg-file", and it looks like a relatively new feature. My RHEL box at work definitely didn't have anything with the word "file" in it.
- gwern 17y agoThe whole thread descending from here is an excellent example of what I mean by corner-cases and memorization. :)