about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-04-12 12:04:52 -0500
committerCase Duckworth2020-04-12 12:04:52 -0500
commit225452243d48f7d42858f0189a21a72de757edca (patch)
tree313571cd9277e6fcefcfd51f97c2e57bfe4ef532
parentInitial commit (diff)
downloadmrgrctrnl-225452243d48f7d42858f0189a21a72de757edca.tar.gz
mrgrctrnl-225452243d48f7d42858f0189a21a72de757edca.zip
Ignore comments
-rwxr-xr-xmrgrctrnl3
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
54awk '{sub(/#.*$/,"");print}' "$config" |
54while read -r machine user local remote 55while read -r machine user local remote
55do 56do
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 &
62done < "$config" 63done
63 64
64wait 65wait