mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-28 11:25:20 +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
|