#!/bin/sh #remove duplicates awk '!x[$0]++' ~/.sb_history | sponge ~/.sb_history #execute /usr/bin/sb-binary $1