view bin/print_args_or_input @ 12198:95f2fe947444 draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Thu, 28 Nov 2019 01:38:45 +0000
parents 56dcce63901b
children
line wrap: on
line source

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