Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#a simple script that check mail inbox
#MBOX
#amir mohammadi :)
directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
search=""
#------------------------------------
mailboxCheck() {