annotate bin/print_args_or_input @ 11337:f769a94c5607

<int-e> mkx bin/dc//print_args_or_input "$@" | DC_LINE_LENGTH=10000 /usr/bin/dc
author HackBot
date Sun, 28 Jan 2018 20:54:39 +0000
parents 56dcce63901b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5643
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
1 #!/bin/bash
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
2 if [ "$#" -gt 0 ]; then printf '%s\n' "$*"; else cat; fi