Hi, for some reason I cant seem to figure this out. I have a file which looks something like this
word
word
word
word
word,word,word
word
word
word,word,word,word,word
word
word
Basically I want this whole thing to be a list with 1 word on each line like this...
word
word
word... (1 Reply)
Hi,
I have a requirement to replace the comma's inside the double quotes. The comma's inside the double quotes will get changed dynamically.
Input Record:
"Washington, DC,Prabhu,aju",New York
Output Record:
"Washington| DC|Prabhu|aju",New York
I tried with the below command but it... (3 Replies)
I have output from a file like this:
15,01,11,14:06
235
I would like to change this to:
15,01,11,14:06,235
Removing newline and change to ","
I now this can be done with tr
cat OUT | tr '\n' ',''
My problem is that tr is not implemented in this shell. sed is, show it should be... (7 Replies)
file1
----
34556745
32678343
31576776
31455566
21356666
I want to assign the record values to a variable in the below format, so that I can use output in .sql file for querying in database.
('34556745', '32678343', '31576776', '31455566', '21356666')
-----------
below is the... (11 Replies)
Hi Guys,
I have a file with content as below
aj.txt
"Iam
allfine" abcdef
abcd "all is
not well"
What I'm trying to say is my data has some new line characters in between quoted text. I must get ride of the newline character that comes in between the quoted text.
output must be:... (8 Replies)
The input file is as below
AR,age,marks,roll,section,evin,25,80,456,A,atch,23,56,789,B,eena,24
,78H245,C,Ps,ot,ecessary,hat,ame comes first then age and rest AR
AZ,kevin,25,80,456,A,Satch,23,56,789,Satch,23,56,789,B,Meena,24,78,H245,C,AZ
................
................
I am writting... (8 Replies)
Hi ,
I have a huge file with following records and I want to replace the last comma with ',NULL'. I try using SED but could not create a correct script .
In my opinion I need a script which can convert ,/n with ,NULL/n
1,CHANGE_MEMBER,2010-12-28 00:05:00,
2,CHANGE_MEMBER,2012-09-02... (8 Replies)
Hi Experts,
I need an urgent help in replacing newline characters in my single column file by a comma.
I am using following command for this purpose:
sed -n -e 'H;${x;s/\n/,/g;s/^,//;p;}' parameter.rtf | rev | cut -c 4- | revMy input file has:
TABLE_1
TABLE_2
TABLE_3
What I need:... (11 Replies)
Hi All,
I want to replace the commas which are not inside parenthesis,quotes
if input is
abc,,lm,(no,pq,rs),{tu,vw,xy},zs,"as,as,fr",'ab,cd,ef'
output should be
abc lm (no,pq,rs) {tu,vw,xy} zs "as,as,fr" 'ab,cd,ef'
I tried this str.replaceAll("\\(.*?\\)|(,)", " "); say my string... (3 Replies)
Hi Experts,
Please support
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
Discussion started by: as7951
3 Replies
LEARN ABOUT DEBIAN
color::library::dictionary::tango
Color::Library::Dictionary::Tango(3pm) User Contributed Perl Documentation Color::Library::Dictionary::Tango(3pm)NAME
Color::Library::Dictionary::Tango - (Tango) The Tango color palette
DESCRIPTION
The Tango icon theme's goal is to make applications not seem alien on any desktop. A user running a multiplatform application should not
have the impression that the look is unpolished and inconsistent with what he or she is used to. While this isn't about merging styles of
all desktop systems, we do aim to not be drastically different on each platform.
The Tango color palette consists of 27 RGB colors.
<http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines>
COLORS
Aluminium 1 aluminium1 #eeeeec
Aluminium 2 aluminium2 #d3d7cf
Aluminium 3 aluminium3 #babdb6
Aluminium 4 aluminium4 #888a85
Aluminium 5 aluminium5 #555753
Aluminium 6 aluminium6 #2e3436
Butter 1 butter1 #fce94f
Butter 2 butter2 #edd400
Butter 3 butter3 #c4a000
Chameleon 1 chameleon1 #8ae234
Chameleon 2 chameleon2 #73d216
Chameleon 3 chameleon3 #4e9a06
Chocolate 1 chocolate1 #e9b96e
Chocolate 2 chocolate2 #c17d11
Chocolate 3 chocolate3 #8f5902
Orange 1 orange1 #fcaf3e
Orange 2 orange2 #f57900
Orange 3 orange3 #ce5c00
Plum 1 plum1 #ad7fa8
Plum 2 plum2 #75507b
Plum 3 plum3 #5c3566
Scarlet Red 1 scarletred1 #ef2929
Scarlet Red 2 scarletred2 #cc0000
Scarlet Red 3 scarletred3 #a40000
Sky Blue 1 skyblue1 #729fcf
Sky Blue 2 skyblue2 #3465a4
Sky Blue 3 skyblue3 #204a87
perl v5.14.2 2011-12-07 Color::Library::Dictionary::Tango(3pm)