473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to delete space before emails - line by line

4
I have a big list like:

(space)email1
(space)email2
(space)email3
(space)email4

before each email i have a single space- but i need the email list clean - without spaces, like

email1
email2
email3

(i cant use simple email extract command or program because i have duplicates in list -and i need this emails too) and i need it to be in that line now are

thanks for any help
Apr 1 '13 #1
1 1591
sicarie
4,677 Expert Mod 4TB
Sounds like you could use the whitespace catchers in sed, very similar to the last command Luuk posted.
Apr 5 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Konstantin Kosinsky795314850 | last post by:
I need lines below and above image. I used: <fo:block border-bottom="0.003in solid black" padding-before="0in" padding-top="0in" padding-start="0in" padding-bottom="0in" padding-after="0in"...
5
by: lixiaoyao | last post by:
hi all I use matrix & vector function to allocate the space myself in c, typedef struct matrix_array newdata; struct matrix_array{ float **sy,*sxx; }; newdata ndata;//new data struct...
6
by: I am Sam | last post by:
I keep getting this error and I don't know why: The path is too long after being fully qualified. Make sure path is less than 260 characters. Description: An unhandled exception occurred...
3
by: silver360 | last post by:
Hello, I'm trying to create a basic Heap manager and i have some question about new/delete overloading. The following code give me this output : >> $./heap >> registered : 0x804d098 >>...
8
by: programming | last post by:
Is there any reason why i am NOT reading each invididual line from a txt file in this script...e.g i keep on getting 2 lines printed outed when there are clearly four lines in the txt file. ...
2
by: Joey Martin | last post by:
Sample: sql="select * from table order by id" How do I look at the query statement and remove all the characters starting with "order by" and remove all remaining characters in that line?
3
by: lumpybanana247 | last post by:
#include <stdlib.h> #include <windows.h> int main() { system("start C:\\Program Files\\TikiConverter.exe"); } this wont work because Program Files is two words. Do you know what i...
0
by: Às«Ë ¡ | last post by:
7
by: ganesh gajre | last post by:
Hi all, I want to read file which is mapping file. Used in to map character from ttf to unicode. eg Map file contain data in the following way: 0 ० 1 १
2
by: neovantage | last post by:
Hey all, I have recently implemented a website using divs. i am having some issues in it which i am unable to solve them. So i need help as i am expecting positive response from here. Well first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.