fix: GNU dc breaking change?
For some reason `?` now start printing output
This commit is contained in:
parent
1a1650fbcb
commit
4c189ea8c7
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
while :
|
||||
do
|
||||
date +"full='%a, %d %b %Y • %H:%M %Z' date='%Y-%m-%d'" \
|
||||
| xargs jo
|
||||
date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep
|
||||
date +"full='%a, %d %b %Y • %H:%M %Z' date='%Y-%m-%d'" | xargs jo
|
||||
sleep "$(date +%s.%N | dc -e "? d 1 + 1 / r - n" | tr '\n' ' ' | sed 's/.* ././')"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue