"Fossies" - the Fresh Open Source Software Archive

Member "msmtp-1.8.17/scripts/msmtpqueue/msmtp-listqueue.sh" (28 Apr 2020, 175 Bytes) of package /linux/privat/msmtp-1.8.17.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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