dotfiles/.bin/OLD/contactsearch
2024-02-14 07:55:58 +01:00

8 lines
166 B
Bash
Executable File

#!/bin/sh
. $HOME/.bin/_config
for file in $(ls -1p $PIMDIR/contacts);
do
printf "%s %s\n" "$file" "$(cut -d":" -f2- $PIMDIR/contacts/$file | tr '\n' ',')"
done