RE: linux question
Date: Tue, 24 Mar 2009 19:15:37 -0400
If you want to remove just the quotes, you could do: vi your_file.txt
and in vi, do:
Then, if it looks ok, to save the changes:
And there are probably a million other ways to do it, between, sed, awk, perl, emacs, etc,etc,etc.....
If you're unfamiliar/uncomfortable w/ vi, two other thoughts:
1.) Make a backup of the file before you begin. Do: cp your_file.txt your_file.txt.backup
2.) If you're in vi, and you do NOT want to save changes, instead of doing ':wq', do this:
Hope that helps,
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Eugene Pipko
Sent: Tuesday, March 24, 2009 7:08 PM
Subject: linux question
I have a file that I am moving from Windows to the Linux box. The file looks like:
"1,2,3,....." "1,2,3,....." So, every like is in double quotes.
How can I open the file and remove them (quotes) using Linux command? Is it easier to do it on Windows via some batch file?
P Please consider the environment before printing this e-mail.