![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| conditional statement | dr_sabz | Shell Programming and Scripting | 3 | 02-02-2009 08:01 AM |
| conditional statement | lalelle | Shell Programming and Scripting | 8 | 08-21-2007 08:57 AM |
| quoting in conditional statement | 3Gmobile | Shell Programming and Scripting | 2 | 08-14-2006 03:14 AM |
| awk conditional statement | 3Gmobile | Shell Programming and Scripting | 10 | 08-09-2006 10:01 AM |
| more elegant way for conditional statement needed | candyflip2000 | Shell Programming and Scripting | 3 | 05-18-2006 07:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I'm getting a "bad number" error from the following conditional if statement. I understand the results of the grep command are not being treated a an integer but am unsure of the correct syntax. Any help would be appreciated. if [ "grep -c DT $myoutfile" -gt 0 ] Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|