view bin/print_args_or_input @ 11228:26a0dbd61005

<oerjan> undo 11226
author HackBot
date Tue, 17 Oct 2017 02:16:32 +0000
parents 56dcce63901b
children
line wrap: on
line source

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