diff --git a/allusers.fish b/allusers.fish index f384e81..c55558e 100755 --- a/allusers.fish +++ b/allusers.fish @@ -1,3 +1,8 @@ -#!/usr/local/bin/fish +#!/usr/bin/fish # with thanks to nossidge -cat /etc/passwd | grep "/home" | grep -v "/bin/false" | cut -d: -f1 | sort +cat /etc/passwd \ + | grep "/home" \ + | grep -v "/bin/false" \ + | cut -d: -f1 \ + | sort \ + | awk '{printf $1"@tilde.town, "}'