1
0
Fork 0

bin: Add sponge to cbedit pipeline

This commit is contained in:
Jeremy Kaplan 2026-05-12 12:37:41 -04:00
commit 802f16b0ea

View file

@ -7,4 +7,4 @@ set -euo pipefail
# trailing newlines.
#
# https://stackoverflow.com/a/7359879/2472163
cbpaste | vipe | sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' | cbcopy
cbpaste | vipe | sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' | sponge | cbcopy