sed: invalid option -- i

Niraj Gandhi <[email protected]> Tue, 6 Sep 2016 05:30:17 +0000
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <VI1PR0401MB1855ABA709B650C14BA6FD718EF90@VI1PR0401MB1855.eurprd04.prod.outlook.com>
Hi,

Can you please help me understand/resolve following error?:

sed: invalid option -- i
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
      --help     display this help and exit
  -V, --version  output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.


Thanks,
Niraj