in reply to split function
$ 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 Section
Seekers of Perl Wisdom