![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| brackets vs parentheses - single and double | ankimo | UNIX for Dummies Questions & Answers | 1 | 09-25-2008 06:28 PM |
| why put double square brackets in an if clause? | napolayan | UNIX for Dummies Questions & Answers | 5 | 11-16-2006 03:18 AM |
| Math Square Root | davex4285 | Shell Programming and Scripting | 3 | 01-29-2006 10:03 PM |
| square brackets | gilead29 | UNIX for Dummies Questions & Answers | 2 | 02-03-2004 11:29 AM |
| Angle brackets | PxT | Post Here to Contact Site Administrators and Moderators | 1 | 04-05-2001 07:06 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
WHy the double square brackets?
One of the senior administrators gave me a shell script to modify and it begins as follows:
if [[ -s valid_users.tmp ]] && [[ -s invalid_users.tmp ]] {more code follows} Why the double square brackets? |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|