Search Results

Search: Posts Made By: my_Perl
1,049
Posted By my_Perl
I use ubuntu 14.01 lts and bash shell. Thanks.
I use ubuntu 14.01 lts and bash shell. Thanks.
1,049
Posted By my_Perl
Script to check and copy column entries
Hi

I have a text file (INPUT.TXT) of three columns assuming they are separated by tab. The format is given as:



Column1 Column2 Column3
aaa NO aaa
bbb ...
3,571
Posted By my_Perl
awk script to call another script based on second column entry
Hi

I have a text file (Input.txt) with two column entries separated by tab as given below:




aaa str1
bbb str2
cccccc str3
dddd str4
eee str3
ssss str2
sdf str3
hhh str1
fff...
3,150
Posted By my_Perl
I need help to write/modify a script to modify...
I need help to write/modify a script to modify the INPUT.TXT file format into the OUTPUT.TXT file format.

My input file format is [INPUT.TXT].


<Text...
2,276
Posted By my_Perl
Thanks a lot it worked. :)
Thanks a lot it worked. :)
3,150
Posted By my_Perl
I need help to understand if I want to use only...
I need help to understand if I want to use only FIRST.txt file to produce OUTPUT.txt without using the SECOND.txt. What changes should I make?

Thanks in advance. :)
2,276
Posted By my_Perl
Missed out in the output
Yes, the following text was missed out in my output. Sorry for the confusion.


<Text Text_ID="10154713369385165_10154714426085165" From="415855878601070" Created="2015-10-30T23:27:48+0000"...
2,276
Posted By my_Perl
Thanks. How do I remove duplicate text from the...
Thanks. How do I remove duplicate text from the XML file ?
2,276
Posted By my_Perl
I am getting the following output ...
I am getting the following output



<Text Text_ID="10155645315850165_10155645333075165" From="460350337463650" Created="2014-10-16T17:05:37+0000" use_count="536">This is the first text</Text...
2,276
Posted By my_Perl
I use Ubuntu 14.04 LTS and bash shell. :)
I use Ubuntu 14.04 LTS and bash shell. :)
2,276
Posted By my_Perl
Using Linux Commands on selected text
Hi

I have a XML file as shown below:



<Text Text_ID="10155645315850165_10155645333075165" From="460350337463650" Created="2014-10-16T17:05:37+0000" use_count="536">This is the first...
3,196
Posted By my_Perl
I am trying to use this command line for two...
I am trying to use this command line for two large files. After entering the command line, the process got Killed. What should I do? I am using Ubuntu 14.04.2 LTS and bash shell. It worked for small...
1,440
Posted By my_Perl
Thanks RudiC. It worked.
Thanks RudiC. It worked.
1,440
Posted By my_Perl
Hi Thanks for the reply. But, I want to...
Hi

Thanks for the reply. But, I want to remove only one space between two characters irrespective of number of spaces (may two or three or four).

For example, if the input is:

c h a ...
1,440
Posted By my_Perl
sed command
Hi

I need help to remove single blank space between two characters using sed. Thanks in advance :)
1,554
Posted By my_Perl
Hi I did awk ' NR==FNR {sub (/|...
Hi


I did


awk ' NR==FNR {sub (/| /, "\t"); if (5 == split ($2, T, " ")) PAT[$2]=$1
next
}

Please correct me if I am wrong.
1,554
Posted By my_Perl
Hi I need help to write the regular...
Hi

I need help to write the regular expression if the column separator between the first and the second columns are two possible cases,

(1) in the order of -one blank space and followed by a...
1,516
Posted By my_Perl
File filter script
I need help to write a script to filter the input file INPUT.TXT as given below:


<DOC id="ID-NAME" type="story" >
<HEADLINE>
Relative Size Capital
</HEADLINE>
<DATELINE>
Los , Monday ...
3,066
Posted By my_Perl
I got the following output: I have a ...
I got the following output:


I
have
a
text
file
as
given
below
.

This
is
a
sample
test
file
.
3,066
Posted By my_Perl
I got the following output: I have a ...
I got the following output:


I
have
a
text
file
as
given
below
.

This
is
a
sample
test
file
.
3,066
Posted By my_Perl
sed command to arrange words
Hi

I have a text file as given below:

Input format


I
have
a
text
file
as
given
below
.

This
is
a
1,554
Posted By my_Perl
Hi I tried running this awk script. It...
Hi

I tried running this awk script. It worked fine for small size of SEARCH.txt. But, when it comes to large size consisting of 10 millions lines (tuples), I am unable to get any output. Please...
1,554
Posted By my_Perl
Search a column a return a set of words
Hi

I have two files. One is a text file consisting of sentences i.e. INPUT.txt and the second file is SEARCH.txt consisting of two or three columns. I need help to write a script to search the...
2,945
Posted By my_Perl
I use Ubuntu 14.04 LTS and bash shell.
I use Ubuntu 14.04 LTS and bash shell.
3,150
Posted By my_Perl
I sincerely appreciate.
I sincerely appreciate.
Showing results 1 to 25 of 109

 
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy