1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 13:59:02 -08:00
rc/sh/sv

4 lines
118 B
Bash
Executable file

#!/usr/bin/env bash
awk "-F${1:- }" '
NF>1{f[$1]=substr($0,length($1)+1+length(FS))}END{for(k in f)print k FS f[k]}
'