Hi!, i have a problem when i trying to replace, in this script, the number five with a variable.
ed file <<< $'1,5d\nw'
i need something like that
ed file <<< $'1,${VAR}d\nw'
I believe that ' can not be replaced with " in this sentence, because i tried it and throws "?" (an error occurs)
Thanks,
Juan.