view bin/print_args_or_input @ 9974:739a547c2541

<oerjan> undo 9971
author HackBot
date Thu, 15 Dec 2016 01:25:05 +0000
parents 56dcce63901b
children
line wrap: on
line source

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