summaryrefslogtreecommitdiff
path: root/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-21 12:41:31 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-21 12:41:31 -0500
commit5c719293ede770801a9b59246881bbca0e7b5413 (patch)
tree5841fa4e8b8bc1c14e5f0e26bc8e1cc9d8527102 /mw
parent8722d9304e3c5626a4700817be40cd637006db36 (diff)
seq in place of retardation
Diffstat (limited to 'mw')
-rwxr-xr-xmw4
1 files changed, 2 insertions, 2 deletions
diff --git a/mw b/mw
index dc40a97..193a13b 100755
--- a/mw
+++ b/mw
@@ -138,8 +138,8 @@ EOF
type="IMAP"; ifgoogleline="remotehost = $imap"
fi
grep "i[0-9]" "$muttdir/personal.muttrc" | awk '{print $3}' | sed -e 's/i//g' > "$tmpdir/mutt_used"
- printf "1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9" > "$tmpdir/mutt_all_possible"
- idnum=$(diff "$tmpdir/mutt_all_possible" "$tmpdir/mutt_used" | sed -n 2p | awk '{print $2}')
+ seq 1 9 > "$tmpdir/mutt_all"
+ idnum=$(diff "$tmpdir/mutt_all" "$tmpdir/mutt_used" | sed -n 2p | awk '{print $2}')
getpass "$title"
getprofiles
mkdir -p "$HOME/.config/offlineimap/" "$HOME/.config/msmtp"