diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-17 09:59:02 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-17 09:59:02 +0800 |
| commit | a7757e8373d195d7eef6416535671cd887e37cab (patch) | |
| tree | d1372ac8346a7c04b8e56216e68a40c36a7f5b23 | |
| parent | e16cf6440539a8bf12a949a1a285629307be0bb4 (diff) | |
Update
| -rw-r--r-- | alias | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -93,7 +93,9 @@ curl.mail.search.subject() { | |||
| 93 | } | 93 | } |
| 94 | curl.mail.fetch() { | 94 | curl.mail.fetch() { |
| 95 | curl "imaps://mail.topo.tw/$1;MAILINDEX=$2" \ | 95 | curl "imaps://mail.topo.tw/$1;MAILINDEX=$2" \ |
| 96 | --user pham:`pass mail/pham@mail.topo.tw` \ | 96 | --user pham:`pass mail/pham@mail.topo.tw` | \ |
| 97 | dos2unix | \ | ||
| 98 | sed -E '0,/^ *$/d' | ||
| 97 | } | 99 | } |
| 98 | 100 | ||
| 99 | # Gist | 101 | # Gist |