This is probably a simple one to answer, but I’m stuck, so here goes.
sed '3d' filename # (or something like that)
I’m having trouble trying to use a $VARIABLE instead of the number.
Anyone know how to get this to work, or any alternative options?
Did you mean this:
(I’m not sure if this is correct use of the
sedcommand, I just know that’s how you would use a variable next to a letter in bash syntax.)