require 'Date'
require
'Fileutils'
require
'Logger'
$today =
Date.today.strftime("%Y%m%d")
$log =
Logger.new("#{File.basename($0, '.*')}.#$today.log", 'daily')
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
No comments :
Post a Comment