Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hodgins
  • Content: Threads
  • Order by date
  1. hodgins

    scripts works with awk 3.1.3 but not with 3.1.5

    script gives last day of the month with awk 3.1.3 but with awk 3.1.5 LAST_DAY is MT? #!/bin/ksh LAST_DAY=`cal | awk '{ if ( length($0) > 0 ) { end_of_month=$0 } } END { printf "%s\n",substr(end_of_month,length(end_of_month) -1 ) }'` echo $LAST_DAY

Part and Inventory Search

Back
Top