Re: Bashscripting
On 07.Apr 2005 - 04:06:11, Bruno Hertz wrote:
> Andreas Pakulat <apaku@gmx.de> writes:
> > mailboxes = `find $HOME/.Mail \
> > -type d \
> > -name "cur" \
> > -maxdepth 2 \
> > -printf "=%P\n" \
> > | sed -e "s&/cur$&&" \
> > -e "s/ /\\\ /g" \
> > -e 's&^\(.*\)$&"\1"&' \
> > -e "/$(date +.%Y-%m)/ p" \
> > -e '/.[0-9]\{4\}-[0-9]\{2\}/ ! p' \
> > -n \
> > | sort | xargs echo`
> >
> > Funktioniert super :-)
>
> Kewl :) (aber irgendwie noch immer monströs, hehe )
Na, so monströs find ichs nicht, ausserdem ist das sehr schnell -
starten von MuttNG dauert jetzt ca. 2 Sekunden (inkl. einlesen von
inbox mit 600 Messages) :-) Das XTerm in dem Mutt läuft braucht fast
schon länger um sich aufzubauen (ist aber auch ein "konsole")
Andreas
--
You will stop at nothing to reach your objective, but only because your
brakes are defective.
Reply to: