view bin/print_args_or_input @ 11602:20868e1dad42 draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Tue, 21 Aug 2018 11:03:25 +0000
parents 56dcce63901b
children
line wrap: on
line source

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