General Purpose, Mutliple Record, File, Expression and Execution: Utility
ALL EXPRESSIONS, REGULARLY: EXTENDED.
HELP:
bin/xd --help
< "I have a regular expression".
> "Are they regular or irregular"?
< "I don't know, I think they are extended".
"Having two kinds of REs is a botch." -- kernel.org (man 7 regex
)
"So is having a shitload of directories for a single target." -- A Smart Ass
Try this one:
printf -- "-I%s\n" $(xd -s:u -rti:nspr -d catalog 2 -- /include /usr/include /usr/local/include)
-I/usr/include/nspr
-I/usr/local/include/nspr
That's a great way to find an include... What about the libraries?
printf -- '-L%s\n' $(xd -s:u -prti:nspr4\.so catalog 1 -- /lib /usr/lib /usr/local/lib)
-L/usr/lib
-L/usr/local/lib
You may now begin: The WOW.