commit dbf4ba6e4f6abbfe852f3919f98518ab429c7b2d parent 0696ff78d23018f4c04660f25ea1ef2fa458c07f Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 15 Oct 2020 20:58:43 +0200 timestamp: remove superfluous read variable declaration Diffstat:
M | .local/bin/timestamp | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.local/bin/timestamp b/.local/bin/timestamp @@ -1,4 +1,2 @@ #!/bin/sh -while read -r line; do - printf '%s %s\n' "$(date '+%H:%M:%S')" "$line" -done +while read -r; do printf '%s %s\n' "$(date '+%H:%M:%S')" "$REPLY"; done