Hi,
I have searched the web for help on this with no luck.
I have a Print-to-PDF script that reads the header for the USER and sends it to that users home directory. I am attempting to modify it to read two different lines.
I have:
Code:
then
USER=`grep --text "@PJL LJOBINFO USERID =" $file`
if ...
I need to add an OR after the USER= line, so that if it doesn't have that header but a different one, it still knows what it's looking for.
So it than reads:
Code:
then
USER=`grep --text "@PJL LJOBINFO USERID =" $file`OR
USER=`grep --text "NEW_HEADER=" $file`
if ...