diff options
author | EuAndreh <eu@euandre.org> | 2022-01-16 15:17:24 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-16 15:17:28 -0300 |
commit | fdef19fd0308ca8d36803c6b9e7abc1eddbe23b7 (patch) | |
tree | 088d48e1ba31e2ccfb23cbca963c2ee50e5475ba | |
parent | TODOs.md: Check item in #td-d6adcb7a-5252-d883-2b81-501c6f648214 (diff) | |
download | git-permalink-fdef19fd0308ca8d36803c6b9e7abc1eddbe23b7.tar.gz git-permalink-fdef19fd0308ca8d36803c6b9e7abc1eddbe23b7.tar.xz |
{aux,tests}/lib.sh: Use -n1 instead of -1 for head command
-rwxr-xr-x | aux/lib.sh | 2 | ||||
-rwxr-xr-x | tests/lib.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ uuid() { # Taken from: # https://serverfault.com/a/799198 od -xN20 /dev/urandom | - head -1 | + head -n1 | awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}' } diff --git a/tests/lib.sh b/tests/lib.sh index 527e645..f2d5555 100755 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -122,7 +122,7 @@ uuid() { # Taken from: # https://serverfault.com/a/799198 od -xN20 /dev/urandom | - head -1 | + head -n1 | awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}' } |