Search Results

Search: Posts Made By: Jag02
2,073
Posted By Jag02
Selection of a range of lines from a huge file
HI All,


I have an xml file(test.xml) with the content as given below.Its a huge file,i have only given a part of it)

<row>
<id>
<name>abc</name>
...
897
Posted By Jag02
Thank you. It helped.
Thank you. It helped.
897
Posted By Jag02
Thank you. But it seems the files are not getting...
Thank you. But it seems the files are not getting copied. Any other solution pl.
897
Posted By Jag02
Rename files with its pathname
Hi,


I have a few csv files within the directory structure as shown below


/tmp/user/Proj/V1/data/Common1/Zip1/123.csv
/tmp/user/Proj/V1/data/Common2/Zip2/3453.csv...
7,278
Posted By Jag02
Need ksh in cygwin
Hi All,

I have installed cygwin64 terminal. I would like to have ksh shell as well. But i dont find any ksh files in /bin dir of cygwin. Pl. help on how to install ksh in cygwin. Its for my...
2,350
Posted By Jag02
Script to replace a string with pattern read from a file
I have two files blocks.txt and rules.txt. In blocks.txt i have the following entries

Linux1
Linux2
Linux3
.....
Linux10

In rules.txt i have the lines where a filename pattern starts like ...
1,635
Posted By Jag02
Thank you. I changed it to -f4 but still it shows...
Thank you. I changed it to -f4 but still it shows the same error :(
1,635
Posted By Jag02
Ls command in a for loop displaying error
I have a few files inside a directory and in my code i am listing the files to get the filenames and do further operations.Details are given below:
Dirname is taken as argument in $3 and filenames...
1,085
Posted By Jag02
Thank you!!. It helped. If you could pl tell me...
Thank you!!. It helped.
If you could pl tell me what was the error in the sed code, it will help me to learn better.
1,085
Posted By Jag02
Thank you. But i would like the output to be ...
Thank you. But i would like the output to be

/tmp/test/output/TES1 2018071814


The above code gives output as

/tmp/test/JAN_DAT_TES1 2018071814
1,085
Posted By Jag02
Error while using sed command
I have a few csv files in a directory and i am using sed command for processing the results from the filename.Details are given below:

Directory: /tmp/test/output
Files:...
1,370
Posted By Jag02
Thanks a ton !! It helped.
Thanks a ton !! It helped.
1,370
Posted By Jag02
Hi, I am using Linux operating system and...
Hi,
I am using Linux operating system and using bash shell.
The } are part of the input file and cannot be changed as i need them in the output file as well.
The blocks i want to merge is not...
1,370
Posted By Jag02
Shell script to merge and delete lines
POLY_STATS
{
EqName 103_tri
Id 123
act_polyCount 1
act_polyValue 0
}
POLY_STATS
{
EqName 103_tri
Id 123
pass_polyCount 2
pass_polyValue 0
} ...
9,510
Posted By Jag02
Thanks a ton !!!.It worked
Thanks a ton !!!.It worked
9,510
Posted By Jag02
Replace a space with underscore in a file
i have a file with following data.
{
EqName "Tan 1"
....
....
}

{

EqName "Sin 2"
...
...
}

I have to replace the value of EqName to Tan_1 and Sin_2 in file.Can i use...
Showing results 1 to 16 of 16

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