How to use file contents as command-line arguments?
Posted
by morfis
on Stack Overflow
See other posts from Stack Overflow
or by morfis
Published on 2010-03-24T21:20:38Z
Indexed on
2010/03/24
21:23 UTC
Read the original article
Hit count: 130
I'd like to use arguments from file as command-line arguments for some commands like gcc or ls.
For example gcc -o output -Wall -Werro
as file consist of:
-o output -Wall -Werro
Used for gcc command-line call.
© Stack Overflow or respective owner