view bin/print_args_or_input @ 5151:c01d76664afd

<mroman> learn mockingbird is watching you.. closely! Is it mocking you? Probably.
author HackBot
date Wed, 19 Nov 2014 10:16:15 +0000
parents ab96ba09ae17
children
line wrap: on
line source

#!/bin/bash
if [ "$#" -gt 0 ]; then printf '%s\n' "$*"; else cat; fi