hello.bat file content
@echo welcome %1 %2 %3 %4 boy
Execution.
hello one two three four
output will be
C:\Documents and Settings\retheesh\Desktop>hello one two three four (Input parameters)
welcome one two three four boy
Welcome to my page. I am not an avid writer, but i am trying. Here you will find some of the fine snippets i came across which i would like to revisit given a chance. Some of the technical troublshooting which i encountered, which i would like to maintain here as ready reckoner. Please feel free to go around my pages. Bouquets and Brickbats are welcomed. :-)
Tuesday, March 15, 2011
Friday, March 04, 2011
perl oneliners
perl -p -i -e 's/oldstring/newstring/g' filename.
This will change the oldstring to newstring in the file.
Perl oneliner to install modules. (Note should have internet access and should have CPAN configuration done)
perl -MCPAN -e 'install HTML::Template'
OR
cpan -i
'install HTML::Template'
Subscribe to:
Posts (Atom)