diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-09-14 13:46:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-09-14 13:46:20 +0800 |
| commit | a0ec345229e272af847b7c12213dab5f6829dfab (patch) | |
| tree | fd5dc06afcf7629b3acff3efb03df609f6e62f6c /oneline | |
| parent | a1fa306592b4733130367749f033b8eb5f479b1d (diff) | |
added oneline for pipe(remember to redirect stderr -> stdout) and updates
Diffstat (limited to 'oneline')
| -rwxr-xr-x | oneline | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/bash + +while read pipe; do + tput rc; tput el + printf "\r$pipe" | tr "\n" "\r" +done +echo |
