seq in place of retardation

This commit is contained in:
Luke Smith 2019-02-21 12:41:31 -05:00
parent 8722d9304e
commit 5c719293ed
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

4
mw
View File

@ -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"