diff options
author | Case Duckworth | 2020-04-12 12:04:52 -0500 |
---|---|---|
committer | Case Duckworth | 2020-04-12 12:04:52 -0500 |
commit | 225452243d48f7d42858f0189a21a72de757edca (patch) | |
tree | 313571cd9277e6fcefcfd51f97c2e57bfe4ef532 | |
parent | Initial commit (diff) | |
download | mrgrctrnl-225452243d48f7d42858f0189a21a72de757edca.tar.gz mrgrctrnl-225452243d48f7d42858f0189a21a72de757edca.zip |
Ignore comments
-rwxr-xr-x | mrgrctrnl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mrgrctrnl b/mrgrctrnl index 8b6c10d..131894e 100755 --- a/mrgrctrnl +++ b/mrgrctrnl | |||
@@ -51,6 +51,7 @@ shift "$((OPTIND - 1))" | |||
51 | rm "$pidf" | 51 | rm "$pidf" |
52 | } | 52 | } |
53 | 53 | ||
54 | awk '{sub(/#.*$/,"");print}' "$config" | | ||
54 | while read -r machine user local remote | 55 | while read -r machine user local remote |
55 | do | 56 | do |
56 | while : | 57 | while : |
@@ -59,6 +60,6 @@ do | |||
59 | echo "$!" >> "$pidf" | 60 | echo "$!" >> "$pidf" |
60 | sleep 3 | 61 | sleep 3 |
61 | done & | 62 | done & |
62 | done < "$config" | 63 | done |
63 | 64 | ||
64 | wait | 65 | wait |