The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can i replace a character with blank space? rollthecoin AIX 8 04-22-2008 09:55 AM
move the last word to begining of next line - SED baskar Shell Programming and Scripting 4 02-15-2008 12:28 PM
append blank space HAA Shell Programming and Scripting 1 09-03-2007 05:43 AM
how to grep for blank records (space,tab,/n)? Browser_ice UNIX for Dummies Questions & Answers 2 08-14-2006 11:47 PM
awk delete blank records xiamin UNIX for Dummies Questions & Answers 1 10-31-2001 05:33 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-07-2008
karthikn7974's Avatar
karthikn7974 karthikn7974 is offline VIP Member  
Supporter
  
 

Join Date: Jul 2007
Location: Singapore
Posts: 58
delete blank space in begining of line

Hi All,

below is my data file
file.txt

Code:
$$0     ServerA  LAN1    AAA     IT01    04/30/2008  09:16:26
$$0     ServerB  LAN1    AAA     IT02    04/30/2008  09:16:26

here $ is a blank space
how to delete first 2 blank spaces in a file.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0