|
Bash Scripting: Echo to Standard Error
Hi all.
I'm trying to print out all arguments passed to a script on a single line sent to STDERR
My script:
#!/bin/bash
echo $* >&2
Am I missing something? I know that >&2 should send STDERR to whatever is after it, but do I need to specify that the line is an error or something?
Thanks
|