#! /bin/zsh # # this file: # https://dataswamp.org/~incal/conf/.zsh/ispell mwl-to-wordlist () { local src=$1 local dst=${src:t:r} sed -e 's/\/.*$//g' $src > $dst }