Improve split

This commit is contained in:
Andrea Cardaci 2020-12-20 21:15:58 +01:00
parent 2475ea0a5a
commit fbe4b42890

View File

@ -7,7 +7,7 @@ functions:
split $LFILE $TF
cat $TF*
command:
- description: Command execution using an existing or new created file.
- description: Command execution using an existing or newly created file.
code: |
COMMAND=id
TF=$(mktemp)
@ -17,9 +17,11 @@ functions:
COMMAND=id
echo | split --filter=$COMMAND /dev/stdin
shell:
- code: |
split --filter=bash /dev/stdin
- description: The shell prompt is not printed.
code: |
split --filter=/bin/sh /dev/stdin
sudo:
- code: |
split --filter=bash /dev/stdin
- description: The shell prompt is not printed.
code: |
split --filter=/bin/sh /dev/stdin
---