Search Results

Search: Posts Made By: chandra004
20,571
Posted By chandra004
We really appreciate help on this... Basically...
We really appreciate help on this...
Basically I have file which has:
...
...
echo config_start
text1
text2
...
few lines of text
echo end_install
...

Another file has
....
...
echo...
20,571
Posted By chandra004
thankyou, that helped. If I have to put...
thankyou, that helped.

If I have to put these lines from start pattern to end pattern into another file at the same place, I am not able to do so.
I tried to use sed -s again to try if it adds...
20,571
Posted By chandra004
Hello vino, when I am using sed -e "/start...
Hello vino,
when I am using
sed -e "/start pattern/,/end pattern/p" file > tmpfile
tmpfile is containing duplicate lines from start pattern to end pattern along with the whole 'file'. I am not...
4,135
Posted By chandra004
Is it possible to use the terminology of .....
Is it possible to use the terminology of .. $(shell ....
The reason I am asking you is...I want to implement these two below and I am not able to do so:

C_HOME=$(shell echo $(HOME) | sed -e...
4,135
Posted By chandra004
calling current working dir from script
Hello,
I am having problem in setting current working directory from shell.
I want to set pwd as an environmental variable in a script. I am following an existing script which is defined as...
16,389
Posted By chandra004
tmarikle, Thank you once again. I got it going,...
tmarikle,
Thank you once again. I got it going, but with the other commands that you gave me.
Do you think me not having nawk functionality and due to which I am using awk, it might be the issue...
16,389
Posted By chandra004
The problem I am getting is: when I run...
The problem I am getting is: when I run FILE_BASE=${i##*:${HOME_DIR}/} line,
I get output as
5.3/examples/activities/soap/interop/dotNet/Server.zip 0...
16,389
Posted By chandra004
hey tmarikle, I am sorry to give you wrong...
hey tmarikle,
I am sorry to give you wrong data. Actually I am trying this in two diferent boxes. I was replicating the scenario which I was giving you all the time. But I posted you the output of...
16,389
Posted By chandra004
:eek: Alright, something's going on with with...
:eek:
Alright, something's going on with with me for last 30 mins.
But I feel it is not able to differentiate the filesize..coz I am getting:
File Size...
16,389
Posted By chandra004
I am getting all zeroes for the File_Size_1. Now...
I am getting all zeroes for the File_Size_1. Now i am getting the output but as the File_size_1 value is 0, all others are messed up. :confused: :confused:
Am I putting it wrong somewhere ??
16,389
Posted By chandra004
Now, I get this error: ...
Now, I get this error:

5.3/examples/activities/Java/javaCode/JavaTest.zip printf: 17102:/home/rpmuser/TIB_bw_5.3/TIB_bw_5.3.0/5.3/examples/activities/Java/javaCode/JavaTest.zip: value not...
16,389
Posted By chandra004
Without putting it in the for loop and just run...
Without putting it in the for loop and just run it, you get the output:

32674 /home/rpmuser/TIB_bw_5.3/TIB_bw_5.3.0/5.3/doc/bw/html/admin/license.htm
3108...
16,389
Posted By chandra004
While executing the script - particularly the...
While executing the script - particularly the line -
FILE_SIZE_1=${i%%:*)},
I am getting
6519 6519
/home/rpmuser/COB_bw_5.3.0/5.3/doc/pdg/dg18.htm...
16,389
Posted By chandra004
I am getting two kinds of errors while running...
I am getting two kinds of errors while running it. In the lowest idrectory, even for the file it is looking for '/' in the end.

ls:...
16,389
Posted By chandra004
I am not able to go anywhere as I couldn't make...
I am not able to go anywhere as I couldn't make the loop to be recursive such that if it sees a directory under it, it should go back to see if there are further directories or else execute the...
16,389
Posted By chandra004
Thank you very much, 'tmarikle'. It really helped...
Thank you very much, 'tmarikle'. It really helped and I am trying to extend your script for recursively checking in any/all of the directories also under the path. Not able to make the loop work. Can...
16,389
Posted By chandra004
That helps, Thanks. I am looking for some thing...
That helps, Thanks. I am looking for some thing like, even if 123 is in a different line on file2, it has to print next to ABC.
What I am trying to do is, I am doing ls -lrt on two directories which...
16,389
Posted By chandra004
Joining lines from two files - please help
Hello,
I have 2 files say
File 1 has
ABC
DEF
GHI
File 2 has
123
456
789

I need output as
ABC 123
DEF 456
GHI 789

I tried awk and sed but not able to get it in the right way. ...
20,571
Posted By chandra004
extract a portion of log file
hello,
I want to grep the log file according to time and get the portion of log from one particular time to other.
I can grep for individual lines by time but how should I print lines continuously...
Showing results 1 to 19 of 19

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