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 9021697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:19:02+00:00 2026-06-16T05:19:02+00:00

German version of Origin [TM] saves .csv files very odd. However I have many

  • 0

German version of Origin [TM] saves .csv files very odd. However I have many of these .csv files and want to convert them with a script.

A,B
Independent variable,comment1 
"0,4","0,067"
"0,0","0,08"
"0,07","0,02"
"0,09","0,00"

should become

A,B
# Independent variable,comment1 
0.4,0.067
0.0,0.08
0.07,0.02
0.09,0.00

The definition of a comment by Origin seems to be

it is the second line

  • 1 1 Answer
  • 0 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-06-16T05:19:03+00:00Added an answer on June 16, 2026 at 5:19 am

    If there is structure to your csv files, and Kevin’s comment above is correct, then you can use ranges by line number:

    sed '2s/^/# /; 3,$s/"\([^,]*\),\([^,]*\)"/\1.\2/g' file
    

    Or a slightly shorter way:

    sed '2s/^/# /; 3,$s/,/./g;s/"."/,/g;s/"//g' file
    

    Results:

    A,B
    # Independent variable,comment1 
    0.4,0.067
    0.0,0.08
    0.07,0.02
    0.09,0.00
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Dutch and German language do have words that can be combined to new
I have a Grails web application running on a german localized machine. How does
I have a piece of software that just entered beta. A Japanese version of
I need to change my Visual Studio 2010 installation from German to English. However,
I have created an test swt application which has some German special characters. When
I want to click on the text English to get the english version of
I have the following problem: I have a 64 bit version of matlab 2011b.
I'm creating the german version of a chm help file. My problem is in
I have a system available in German and English and I'm trying to set
I have a Windows7 x64 machine (german). I had VS2008Prof, VS2010Prof and VS11 DP

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.