view bin/print_args_or_input @ 8911:978a725fd403

<boily> pastequotes
author HackBot
date Fri, 12 Aug 2016 23:46:23 +0000
parents 56dcce63901b
children
line wrap: on
line source

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