I saw this in the end of an awesome shell script but I can't understand the logic here because I think it's being short-handed for a longer command.
spark ${@:-`cat`}
This apears at the end of this script. Any ideas?
+ Marks for some one who extends it into a full segment of code, even if its slower (Better for explanation)
@
which is what this question is about. This is definitely not duplicate question