i have read topic there no similar mine.
i need pass sed command $value hard :
sed "1,$valued" filename.txt
like
sed "1,4d" filename.txt
how can ?
that's trying use variable called $valued
.
so can either:
1,${value}d
.
or set $valued
4d
.
Comments
Post a Comment