view bin/print_args_or_input @ 11740:59d2a5e7d053 draft

<int-e> forget code
author HackEso <hackeso@esolangs.org>
date Thu, 21 Feb 2019 19:21:47 +0000
parents 56dcce63901b
children
line wrap: on
line source

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