"Fossies" - the Fresh Open Source Software Archive

Member "msmtp-1.8.5/scripts/msmtpqueue/msmtp-listqueue.sh" (2 May 2019, 175 Bytes) of package /linux/privat/msmtp-1.8.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "msmtp-listqueue.sh": 1.8.4_vs_1.8.5.

    1 #!/usr/bin/env sh
    2 
    3 QUEUEDIR=$HOME/.msmtpqueue
    4 
    5 for i in $QUEUEDIR/*.mail; do
    6     grep -E -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue";
    7     echo " "
    8 done