Search Results

Search: Posts Made By: ameyrk
Forum: Solaris 11-13-2013
1,932
Posted By ameyrk
Usage of -prune and -name in find
I am into
cd /home/work/amey/history-*/

Under amey I have directories
history, history-1, history-2 and under history-2 I have got 2 files 3 and 2.

When I run the find command I get the...
Forum: Solaris 11-11-2013
9,514
Posted By ameyrk
Thanks Don, So according to you there is no...
Thanks Don,

So according to you there is no specific way to find number in times.


Regards,
Amey
Forum: Solaris 11-11-2013
9,514
Posted By ameyrk
Regular Expression in Date ls command
Hi,

I have got a problem in a regular expression with a file name containing date. I am using a regular to display the file in ls, but by using the same it gives me file name does not exist.
...
1,041
Posted By ameyrk
Thanks Ravi and Balaji. Its working but I...
Thanks Ravi and Balaji.

Its working but I have pretty lenghty xml and it matches everything, where ever the string occurs. I want these specific 5 lines in my output and not rest.

How that can...
1,041
Posted By ameyrk
Hi Ravi, Expected o/p is the same xml, after...
Hi Ravi,

Expected o/p is the same xml, after running the grep command.

<tokenValue>kfqcU9+akXJxFbPvh8x5EyLyu9dbNBg5bC0l8HlJA3ic7KnBnrYZ1aW7kArruzQhG+5lucFE</tokenValue>...
1,041
Posted By ameyrk
Regular Expression needed for the xml
I would like to match the regular below xml snippet by using the following grep command. I want match the lines as well could some please help me ..
grep -il...
2,004
Posted By ameyrk
Thanks Kshji If i give a regular...
Thanks Kshji


If i give a regular expression some thing like this

^....-..-.. ..:..:..,... .*testameykamble<*>$ (something like this but this is not working) If i give this expression the out...
2,004
Posted By ameyrk
I tried running your script it works but it gives...
I tried running your script it works but it gives me other xml as well. I need only specific output. I would appreciate a regular expression.


any ways Thanks Bipin for the script.
2,004
Posted By ameyrk
Thanks Bipin, this will only give me matching...
Thanks Bipin, this will only give me matching lines for the keyword. I want the entire xml as an output (paragraph)
2,004
Posted By ameyrk
Thanks Bipin for the reply. My output should...
Thanks Bipin for the reply.

My output should be the entrire XML which i have pasted from a log file.

some thing like this the expresiion "*testameykamble*" should give me entire xml output...
2,004
Posted By ameyrk
Regular expression for XML request and response
Hi Gents,

I am having a xml request, I need to match the entire paragraph in unix regex. Can some one please provide me the regex for unix. I need to embed this in a shell script. Below is the...
3,776
Posted By ameyrk
Wow that really worked. In this case we know...
Wow that really worked. In this case we know there are 3 lines but if the opening and closing target are really big then any idea on that?

thanks Corona
3,776
Posted By ameyrk
Birei, correct my version does not support. ...
Birei,

correct my version does not support.

my question is like grep -i "<target.*UpgradePrimaryBox<followed by new line><then followed by target>"

any help?
3,776
Posted By ameyrk
Need Help On REG EXP in unix
Respected All,

I have a very big xml in that i want to search only below 3 lines.

<target name ="UpgradePrimaryBox" depends ="configureBox1">
<echo> Finished Upgrading Primary Box </echo>...
3,850
Posted By ameyrk
my script is available @ my first post. please...
my script is available @ my first post. please look into it
3,850
Posted By ameyrk
Script is available @ my first post please have...
Script is available @ my first post please have look into it
3,850
Posted By ameyrk
i did but it did not work .. :-( same error ...
i did but it did not work .. :-( same error
./1sync.sh: line 26: syntax error near unexpected token `(('
./1sync.sh: line 26: ` for (( i = 0 ; i <= 1 ; i++ ))'
3,850
Posted By ameyrk
this is just a test script which creates a...
this is just a test script which creates a directory @ remote machine.

----------
output. --> this a valid o/p as ssh does not work from test machine
----------
Welcome to ICP
Please enter...
3,850
Posted By ameyrk
Syntax error at line 14: `gw_user=' unexpected
Masters, i iam writing a script (dont have much experience in the process of learning) which handles file copy to multiple servers and users for deployment purpose. Below is the snippet.

When ever...
Forum: Programming 02-28-2011
2,574
Posted By ameyrk
sed working
hey jilliagre sed command is working ..... can you please explain me the stuff how it works


the ruby is not available in my box

thanks,
Amey
Forum: Programming 02-28-2011
2,574
Posted By ameyrk
Replace one space with nothing
hi,

d o g e v o l

i want a perl command for the above string which should change to the below

dog evol

replace one space with nothing and two spaces with one space.

Thanks,
Amey
Forum: Programming 02-28-2011
947
Posted By ameyrk
Please help me with my output for my program
Hello All,
iam a new memeber today i joined this forum.
hope i will get help. the below program takes input strings and give reverse of input string.
[ -a display ] && mv...
Showing results 1 to 22 of 22

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