I am writing a search script for my Unix class. I need to be able to display only user specified fields from a matched search. This is my script:
while echo "Please enter Play name to search: \c" ; do
read string
case $string in
"") tput clear
echo "No...
I need to sort a file on the date field. My dates are in the second field and ":" delimited, with the mm/dd/yy format.
I have tried the following code but it sorts only on the month :
cat data | sort -t \: +1 -n > temp
So if I have original dates:
09/28/03
07/04/04
09/29/03...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.