Domain Name Forum  

Go Back   Domain Name Forum > Web Design & Development > Programming > Shell Scripting
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2011, 01:08 PM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default 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">
__________________
Website Development
Domain Name Forum
Reply With Quote
  #2  
Old 07-29-2017, 11:53 AM
steffidsouza46 steffidsouza46 is offline
Member
 
Join Date: Jun 2017
Posts: 58
Default

In-place truncation. To truncate the file in-place with sed, you can do the followingeleting line in a shell script file using sed command.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:50 PM.

| Webmaster Forum | | Domain Name Forum |



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