mirror of
https://github.com/FAUSheppy/config
synced 2026-06-19 06:32:36 +02:00
fix ip
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then
|
||||
uniq_linebuffered() {
|
||||
awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@"
|
||||
}
|
||||
else
|
||||
uniq_linebuffered() {
|
||||
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@"
|
||||
}
|
||||
fi
|
||||
Reference in New Issue
Block a user