Last active
April 6, 2021 04:11
-
-
Save lalitmee/835e40d47705f5e77a90278afb7603d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
result=$(grep -w "01/12/2019" "$1" | sed "s/01\/12\/2019\s//") | |
if [[ $result ]] | |
then | |
echo "$result" | |
else | |
echo "No orders found" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment