The UNIX and Linux Forums  

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


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
Help with the History command cleansing_flame UNIX for Dummies Questions & Answers 2 02-04-2008 09:25 AM
Command history in AIX priya_v111 Shell Programming and Scripting 2 09-18-2006 11:48 AM
History command akash_wagh Filesystems, Disks and Memory 0 08-31-2005 02:54 AM
command history vikasdeshmukh UNIX for Dummies Questions & Answers 3 11-14-2001 02:37 AM
History Command jack UNIX for Dummies Questions & Answers 2 08-01-2001 10:01 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-24-2005
Registered User
 

Join Date: Jul 2005
Posts: 33
history of test command as [

Does anyone know which came first for the test syntax: test <expr> or [ <expr> ]? My vague understanding is that test was the initial way to do it. But if so, when was the [ syntax introdcued? thanks...
Reply With Quote
Forum Sponsor
  #2  
Old 08-24-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,613
test came first. [ came soon after. Both happened in the 70's and I don't know the years. test and [ were links to the same external program. To sh, these were just another external program.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0