I’m trying to run a script that patches the Linux kernel source, but it errors and dies midway through saying sed: invalid option – 1. My current guess is that this is referring to the following line in the script:
sed 1,"$CRAMFS"d fs/Config.in >>Config.tmp
I don’t know sed, and the inclusion of a number and comma indeed doesn’t resemble what the man page shows for input parameters. Assuming this is some sort of deprecated calling syntax, does anyone know how I can rewrite it so the script will work?