view bin/print_args_or_input @ 7447:9b19399b51cc

<b_jonas> learn Of this incident we shall never speak again.
author HackBot
date Sun, 17 Apr 2016 22:20:01 +0000
parents 56dcce63901b
children
line wrap: on
line source

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