Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 703937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:53:09+00:00 2026-05-14T03:53:09+00:00

Hey all, I have been doing nothing but web development over the last few

  • 0

Hey all, I have been doing nothing but web development over the last few years and haven’t written any Java or C++ in what feels like forever. I don’t necessarily need to use these languages, so I’m entirely open to suggestion. I was given an email list by a client to import into their mailchimp account yesterday and unfortunately, Mailchimp couldn’t read the file. It’s a text file, but I don’t believe it’s tab delimited (which would make this much, much easier for me).

A small portion of the file (I’ve changed last names and email addresses) can be viewed here: http://sparktoignite.com/patients.txt

If anyone has suggestions on how I can get this into a Mailchimp readable format (csv, tab delimited txt, excel) please let me know. I feel like 3 years ago I would’ve been able to do this in a matter of minutes, but given that I haven’t touched anything other than RoR, PHP, and jQuery for the last few years, I don’t know where to start.

Thanks!

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:53:10+00:00Added an answer on May 14, 2026 at 3:53 am

    In bash, outputs TAB delimited file:

    cat patients.txt | tr -d [[:blank:]] | tr "|" "\t" > output.txt
    

    If you prefer csv, just change the last "\t" to ",":

    cat patients.txt | tr -d [[:blank:]] | tr "|" "\t" > output.txt
    

    It messes up the header though. If you need to preserve header, first couple of lines need to be skipped:

    head -n2 > output.txt
    tail -n+3 | tr -d [[:blank:]] | tr "|" "\t" >> output.txt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey all, i have been trying for a few minutes on this problem and
Hey, I have been searching all over for a solution to injecting into action
Hey all... I have been reading the tornado doc and came across open id
Hey all, I have been away from rails for a while and have been
hey the title pretty much says it all. i have been trying different methods
Hey all i have been trying to figure out why i am getting this
Hey all, have been working on designing a new database for work. They have
hey all i am stumped by this query and have thought it over and
Hey all. I have a question on how to implement the following with Django.
Hey all, basically i have an empty AS3 fla file with just the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.