Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Shell Scripting (http://www.domainnameforum.org/forumdisplay.php?f=130)
-   -   triming lines using shell command (http://www.domainnameforum.org/showthread.php?t=151558)

webdev 03-23-2011 01:08 PM

triming lines using shell command
 
Hello, i have a problem and need your help i have a text file generated automatically from a script , but the result in the script is not ordered in a readable way, so i need your help to fix it using a shell command the text file contain data in this way : <div class="codeblock">

steffidsouza46 07-29-2017 11:53 AM

In-place truncation. To truncate the file in-place with sed, you can do the following:Deleting line in a shell script file using sed command.


All times are GMT -4. The time now is 08:20 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.