echo '1,2,3,5' | sed -n data.txt
sed: 1: "data.txt": extra characters at the end of d command
I want to give linenumbers for search from other command. Actually awk is giving those numbers from this thread.
hello amigo this line 3 and here we go 4 and 5 is here
where output should be
hello amigo this line 3 and 5 is here
How can you give sed those linenumbers?