navaneethan
August 18th, 2009, 08:39 PM
dated_fname(){
set --'date'
year='expr $6: '..\(..\)'
echo "$2$3_$year"
}
output:
$dated_fname // what it means
jan28_03
here this module is used to create the dated file(like jan28_03)
let you explain the process line by line??
set --'date'
year='expr $6: '..\(..\)'
echo "$2$3_$year"
}
output:
$dated_fname // what it means
jan28_03
here this module is used to create the dated file(like jan28_03)
let you explain the process line by line??