#! /bin/sh sed -e 's!^.*/!!' \ < varprefix-files.txt > varprefix-noprefix.txt