~ubuntu-branches/ubuntu/natty/mawk/natty

« back to all changes in this revision

Viewing changes to examples/hcal

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2001-07-18 20:40:37 UTC
  • Revision ID: james.westby@ubuntu.com-20010718204037-ktb1x8r3ukz5hp3h
Tags: 1.3.3-8
debian/rules (build): compile with -O1 on hppa to work around probable
compiler bug.  Thanks to LaMont Jones <lamont@ia.mmjgroup.com>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/local/bin/mawk -We
 
1
#!/usr/bin/mawk -We
 
2
 
2
3
# edit the above to be the full pathname of 'mawk'
3
4
# @(#) hcal - v01.00.02 - Tue Feb 27 21:21:21 EST 1996
4
5
# @(#) prints a 3-month (highlighted) calendar centered on the target month
414
415
        if ( ! j ) Get_J()
415
416
        return Get_Num("01/01/0001",m,d,y,j)
416
417
}
417
 
 
418