$ date|awk '{print $4}'|awk -F: '{print $1$2}'|cut -c3-4 19
$ perl -e 'print( (localtime)[1], "\n" )' 19
I don't really understand awk so I might be mistaken. If you're looking for something other than minutes, consult localtime.
In reply to Re: split function
by rowdog
in thread split function
by rgoud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |