Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: asirohi
702
Posted By asirohi
Help with Parsing a CSV File
Hello All,

I have an input CSV file like below, where first row data can be in different position after every run of the tool, i.e. pzTest in below example is in column 1, but it can be also...
10,085
Posted By asirohi
Hi Agama, You solution works but i just...
Hi Agama,

You solution works but i just confirmed the XML tag is:
<property name='agent' value='/var/tmp/root/eclipse' />

instead of a ", its ' to represent String attribute.
How would i...
10,085
Posted By asirohi
Hi Agama, Thanks for the reply, but that...
Hi Agama,

Thanks for the reply, but that does not work. The script that you provided just removes the <> from the line and displays
property name="agent" value="/var/tmp/root/eclipse" /
as...
10,085
Posted By asirohi
awk Script to parse a XML tag
I have an XML tag like this:
<property name="agent" value="/var/tmp/root/eclipse" />

Is there way using awk that i can get the value from the above tag. So the output should be:...
1,133
Posted By asirohi
Help with Shell script
This is a line in the shell script i am writing. So the $1 argument is the path to the tar file that i pass, for example "./UnixScript.sh /var/tmp/asirohi/j564redist.tar.gz"

I want to store...
1,128
Posted By asirohi
Help with AWK
The output below in for the symlinks in blue and the path in red. I need to find a generic way i can concatenate path and symlink name. Help is really appreciated.

Thanks
Aditya
...
1,572
Posted By asirohi
Thanks, that was helpful
Thanks, that was helpful
1,310
Posted By asirohi
Need to extract some lines from output via AWK
Hello Friends,

I have got, this output below and i want to extract the name of symlink which is highlighted in red and the path above it highlighted in blue. At the end i want to append path...
1,572
Posted By asirohi
Problem with find command
Hello Friends,

When i give the command from path from path /var/tmp/asirohi/jdk/docs:-

find /var/tmp/asirohi/jdk/docs/ . -depth -name license_*.html

I get the following output:-...
2,100
Posted By asirohi
Oops, that was a dumb question, that worked but...
Oops, that was a dumb question, that worked but xml file now just has:-

<execute description="reboot" Results="true" value="high">
<execute description="Stop Servlet" Results="true" value="high">...
2,100
Posted By asirohi
This does not changes the things inside the xml...
This does not changes the things inside the xml file permanently. It just print the changes in the Command line. What changes should i make.I am enclosing my script below, when i pass the xml file to...
2,100
Posted By asirohi
Want to use sed to add some parameters at the end of the line
Hello All,

I have a doubt in sed, i want to add some parameter at the end of the tag inside a xml tag. how to i do that. so i want to add Results="true" value="high" inside the xml tag.
...
2,562
Posted By asirohi
$$$$$
$$$$$
2,562
Posted By asirohi
3,038
Posted By asirohi
Hello, I can understant what associative...
Hello,

I can understant what associative array is. But if you could tell me what is happening here below, it would be great.

a[$1]=($1 in a)?a[$1] OFS $NF:$0}
3,038
Posted By asirohi
$$$$$$
$$$$$$
3,038
Posted By asirohi
$$$$$
$$$$$
3,038
Posted By asirohi
Hello Danmer, That does not work, did it...
Hello Danmer,

That does not work, did it work for you?
3,038
Posted By asirohi
Hello Tyler, Thanks for the wonderful...
Hello Tyler,

Thanks for the wonderful explaination, that was superb. I have a question if(prev == "") and i dont want to display any thing what do i do. I asked this question because in the log...
3,038
Posted By asirohi
Modify log files to get uniq data
Hello,

I have a log file that has following output as below.

LAP.sun5 CC
LAP.sun5 CQ
perl.sun5 CC
perl.sun5 CQ
TSLogger.sun5 CC
TSLogger.sun5 CQ
TSLogger.sun5 KR
WAS.sun5 CC
WAS.sun5...
1,300
Posted By asirohi
Help needed to sort data
Hello All,

Today i have been asking lots of question, hope to become good in scripting soon with all the wonderful advices i get. The question is i want to sort data a get uniq string from it....
1,397
Posted By asirohi
Thanks, that worked
Thanks, that worked
1,397
Posted By asirohi
How to append using sed
Hello all,

I want to use sed to append a variable stored in $i, how do i do that?
$i contains a path to a directory and i want to append it before the result i get from awk statement, before...
1,293
Posted By asirohi
Help needed to stick on variable data to an output
Hi all,

I need help now to stick the value inside $RHAT_PRODUCT and display that in every line in the output. What changes in the code can i do.

Please suggest

Thanks
Adsi

#!/bin/sh
...
1,456
Posted By asirohi
That was perferct. Thank you
That was perferct.

Thank you
Showing results 1 to 25 of 65

 

Featured Tech Videos

All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy