Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37706372
en ru br
Репозитории ALT
5.1: 4.64L-alt6
4.1: 4.64L-alt5
4.0: 4.64L-alt4.1
3.0: 4.58L-alt4
+backports:4.64L-alt0.M30.4
www.altlinux.org/Changes

Группа :: Сети/Почта
Пакет: pine

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/bash

# Usage:
#
# pine2Mutt [ [source|""] [target] ]
#
# The script taken from Pine FAQ page (University of Washington)

if [[ -z $1 ]]
then
pineBook=$HOME/.addressbook
fi

if [[ -z $2 ]]
then
muttAliases=$HOME/.mutt.aliases
fi

echo About to convert
echo "from\tPine addressbook file\t(1st argument): $pineBook"
echo "to\tMutt aliases file\t(2nd argument): $muttAliases" "..."

perl -ane '$F[$#F] = "<$F[$#F]>"; print "alias @F\n";' \
$pineBook > $muttAliases

echo Convertion completed.
echo
echo "Don't forget: to make mutt read them in on startup you must add this line to mutt's setup file:

source $HOME/.mutt.aliases
"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin