view bin/print_args_or_input @ 12164:648b29e5466e draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Wed, 20 Nov 2019 04:11:23 +0000
parents 56dcce63901b
children
line wrap: on
line source

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