The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-20-2006
gfhgfnhhn gfhgfnhhn is offline
Registered User
 

Join Date: Mar 2006
Posts: 77
if statement in ksh

what is the problem with this comparison in ksh script:

if [ "$1" -ne "[:digit:]" ]

it gives syntx error
Reply With Quote
Forum Sponsor