how to delete space before emails - line by line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erapop
    New Member
    • Mar 2013
    • 4

    how to delete space before emails - line by line

    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
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Sounds like you could use the whitespace catchers in sed, very similar to the last command Luuk posted.

    Comment

    Working...