in reply to Re: How do I Determine if my script is being piped to?
in thread How do I Determine if my script is being piped to?

Just tested -p and looks like that's just the opposite of -t. At least in my case that is the behavior.

I guess my question was more on the side of I didn't know what to search for. The -p and -t operators can accomplish what I need. It's almost silly that the solution was staring me in the face and I didn't know it. During my many searches, I came across -p a couple times and maybe -t, but didn't have the instinct to look them up.

Thanks again for the help.

  • Comment on Re^2: How do I Determine if my script is being piped to?