Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "enter the filename"
- read fname
- echo "enter the starting line number"
- read s
- echo "enter the ending line number"
- read n
- sed -n $s,$n\p $fname | cat > newline
- cat newline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement