~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to getopt/getopt-test.tcsh

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/tcsh
2
 
getopt -T >&/dev/null
3
 
if ( $status == 4) then
4
 
  echo "Enhanced getopt(1)"
5
 
else
6
 
  echo "Old getopt(1)"
7
 
endif