The UNIX and Linux Forums  

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



Thread: double dashes
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-16-2006
systemsb systemsb is offline
Registered User
 

Join Date: Jan 2006
Posts: 23
double dashes

function date_diff
{
integer _dt1=$(date_to_num ${1:?})
integer _dt2=$(date_to_num ${2:?})
integer _ndt=0
if [[ $_dt2 -gt $_dt1 ]]
then
((_ndt=_dt2-_dt1))
fi
print -- $_ndt
}


What does double dash '--' indicate ?
Can anyone please answer this
Reply With Quote
Forum Sponsor