SpectreOS-old/refill.sh

14 lines
133 B
Bash
Raw Permalink Normal View History

2018-02-26 02:41:29 +01:00
#!/bin/sh
set -ex
fill=$1
shift
while (( "$(expr $#)" ))
do
grep -v ${fill} $1 > tempdatei
mv tempdatei $1
shift
done