C-strings prefixed to commands (modified by the Makefile), the helper functions are now standalone scripts in the helpers/ dir, which gets added to "$PATH" when running bb.
6 lines
163 B
Bash
Executable File
6 lines
163 B
Bash
Executable File
#!/bin/sh
|
|
# Display text from the current line upward (instead of downward)
|
|
input="$(cat)"
|
|
printf "\\033[$(echo "$input" | wc -l)A\\033[J" >/dev/tty
|
|
echo "$input"
|