#!/bin/sh # check dependency if ! command -v khard > /dev/null 2>&1 then echo 'You have to install khard!' exit 1 fi # convert khard contacts to SXMO (https://sxmo.org/) format khard phone -p | sed 's/\t/ /2'