Hello, I am looking to use the 'sort' command...I think. I have a file where I want to add a line and then I want to sort a section of the file. For example: I want to add this line:
<A HREF="LYNXEXEC:clear;sudo su - ddd_dev">bro_dev</A><BR>
and then add it between the ccc_dev user and the eee_dev user. I have seen a lot of examples using sort, but I haven't found any that only sort part of the file. So, any guidance or example sites would be great! Thanks in advance.
<A HREF="LYNXEXEC:clear;sudo su - ddd_dev">bro_dev</A><BR>
and then add it between the ccc_dev user and the eee_dev user. I have seen a lot of examples using sort, but I haven't found any that only sort part of the file. So, any guidance or example sites would be great! Thanks in advance.
Code:
<HTML>
<BODY>
<B>Development Campuses for support</B><BR>
<A HREF="LYNXEXEC:clear;sudo su - aaa_dev">bro_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - bbb_dev">cli_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - ccc_dev">esc_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - eee_dev">hvc_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - fff_dev">ins_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - ggg_dev">mvc_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - hhh_dev">nia_dev</A><BR>
<A HREF="LYNXEXEC:clear;sudo su - iii_dev">nor_dev</A><BR>
<B>
<P><A HREF="/etc/menus/main.html">Back to Main Menu</A></P>
</BODY>
</HTML>