pe<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 10:35 AM, Adel ESSAFI <span dir="ltr"><<a href="mailto:adelessafi@gmail.com">adelessafi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi list<br><br>Is there a method to delete a line from a file withoout editing it!<br></div></blockquote><div><br>you can use perl<br><br>perl -p -i -e `s/Line in file you want to remove//' filename<br>
<br><br>but to remove a line you will always edit it.  Just not through a typical editor....<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><br>I have found how to do this with awk, but it is heavy!!<br><br><br>Thanks in advance <br><br><br>Adel<br><br clear="all">
<br>-- <br><a href="http://ilovefedora.blogspot.com/" target="_blank">http://ilovefedora.blogspot.com/</a><br><br>-- <br><br>PhD candidate in Computer Science<br>Address       <br>BP 108, Bureau de poste Tunis republique <br>
1001 Tunis<br>
Tunisia<br>tel: +216 97 246 706<br>fax: +216 71 391 166<br>
</div>
<br>--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br></blockquote></div><br><br clear="all"><br>-- <br>
A grasshopper walks into a bar and the bartender says "Hey, we have a drink named after you." And the grasshopper says "Really, You have a drink named Murray?"<br>