Introduction
Statistics
Contact
Development
Disclaimer
Help
2018-04-03
__V_C_a_l_e_n_d_a_r__h_a_n_d_l_i_n_g__i_n__m_u_t_t__________________
y coworkers use outlook a lot to handle meeting dates. This is
articular annoying for me as I use mutt at work and need to make
ense of the gibberish that a VCALENDAR attachment is.
oday I got so annoyed that I wrote a little awk script:
''awk
!/usr/bin/awk -f
^SUMMARY/ { FS=":"; summ = $NF }
^LOCATION/ { FS=":"; meet = $NF }
^DTSTART/ { FS=":";
^DTEND/ { FS=":";
ND { print date_st" - "summ,"\n",time_st, "-", time_nd,meet"\n" }
''
his works nicely. I have this in my .muttrc:
''
uto_view text/calendar text/html
lternative_order text/calendar text/plain text/html
''
gnore that html part, that's getting piped through lynx.
nd in my mailcap I added:
''mailcap
ext/calendar;
''
he copiousoutput part tells mutt that it is non-interactive (amongst
otential flooding it with output), so without that the auto_view
ill not work.
he awk script is a bit ugly, I guess one could move the redundant
arts into its own function.
ow do you deal with the enterprise IT horrors?