view bin/print_args_or_input @ 11310:0432cecd5ebc

<int-e> learn Communication is hard if it involves more than one person.
author HackBot
date Mon, 08 Jan 2018 20:39:54 +0000
parents 56dcce63901b
children
line wrap: on
line source

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