why seq 10 | sed -e '1,2d' -e '1,2d' just delete three lines ?
Code:
[root@station3 ~]# seq 10 | sed -e '1,2d' -e '1,2d' Can someone tell me how "seq 10 | sed -e '1,2d' -e '1,2d'"works?thanks! |
Hi, welcome to LQ!
This very much smacks of homework; how about you share your own thoughts on what might be going on after having read the man-page for seq and the info-pages for sed, and we then tell you how you're doing with your assertions? Cheers, Tink |
All times are GMT -5. The time now is 03:25 AM. |