Skip to content

Commit

Permalink
Add support for Windows via git bash/msys
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Fouts authored and elasticdog committed Jul 22, 2016
1 parent 35a7391 commit a71cf2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions genhost
Expand Up @@ -54,6 +54,9 @@ for i in $(seq $1); do
linux*)
sed -i "s/^${lines[r]}\$/#${lines[r]}/" "$wordlist"
;;
msys*)
sed -i "s/^${lines[r]}\$/#${lines[r]}/" "$wordlist"
;;
esac

# remove the used word from the array to prevent duplicates
Expand Down

0 comments on commit a71cf2c

Please sign in to comment.