Programming Languages C++ Subjective
Mar 13, 2013

What is the usage of -i and 0s options?

Detailed Explanation

The -i option is used to modify the files in-place. This implies that Perl will rename the input file automatically and the output file is opened using the original name. If the -i option is used alone then no backup of the file would be created. Instead -i.bak causes the option to create a backup of the file.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback