mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-24 16:08:49 +01:00
19 lines
243 B
Bash
19 lines
243 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
|
||
|
while read line # we know this is not always correct...
|
||
|
do
|
||
|
if [[ "$line" =~ nomap* ]]; then
|
||
|
echo "NOMAP"
|
||
|
continue
|
||
|
fi
|
||
|
|
||
|
echo "didmap/${line}"
|
||
|
|
||
|
if [ "$1" == "stop" ]; then
|
||
|
break
|
||
|
fi
|
||
|
|
||
|
done
|