diff options
| author | noa | 2024-01-03 10:57:01 +0000 | 
|---|---|---|
| committer | noa | 2024-01-03 10:57:01 +0000 | 
| commit | 2693f666acd19022aedacf5a184cfabcd834cbc3 (patch) | |
| tree | 7ee8f2fb7a420cb6bb96c2e37d667442e49f8d44 /commands | |
| parent | bf0cf3862464b741fac3044c7898c1aeb9e9cd62 (diff) | |
Add cat command
The cat command interleaves its arguments with cats.
Diffstat (limited to 'commands')
| -rwxr-xr-x | commands/cat | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/commands/cat b/commands/cat new file mode 100755 index 0000000..a664bbb --- /dev/null +++ b/commands/cat @@ -0,0 +1,10 @@ +#!/bin/sh + +set -- $1 + +printf "𓃠 " +for word in "$@"; do +	printf "$word" +	printf " 𓃠 " +done +printf "\n" | 
