How do I run this sed script on Linux?
I tried placing the code in a file named as386.sed and then executing the following command. The input to the program is in a file called input_file.
sed -i -f as386.sed input_file
When I run this is tells me, sed: file as386.sed line 1: unknown command: '*'
If I put at the top of that file "#!/bin/bash" and run the command it tells me, sed: file as386.sed line 3: extra characters after command.
A link to the sed script is here:
Click on the "DJGPP news group" link.
|Location:||Huddersfield, West Yorkshire, UK|
|Nodes:||16 (2 / 14)|