Search Results

Search: Posts Made By: d__browne
1,957
Posted By d__browne
great thanks, that works a treat.
great thanks, that works a treat.
1,555
Posted By d__browne
thanks all for your help.
thanks all for your help.
3,693
Posted By d__browne
Thanks ! :)
Thanks ! :)
3,693
Posted By d__browne
Hi Anbu23 and thanks again so do I have to...
Hi Anbu23 and thanks again

so do I have to put a \ in front of $ . ; = , etc ?? I presume this means ignore the fact that it is there and carry on

I have been trying what is below and I get...
1,555
Posted By d__browne
add a line to a specfic point in a file
Hello,

Simple if you know how, which I don't....

I would like to add a line to file file.env

file.env consists of the following :

line 1-20 here ..
# Begin customizations
...
1,957
Posted By d__browne
add a line to a specfic point in a file
Hello,

Simple if you know how, which I don't....

I would like to add a line to file file.env

file.env consists of the following :

line 1-20 here ..
# Begin customizations
...
3,693
Posted By d__browne
thanks anbu23 how would I deal with...
thanks anbu23

how would I deal with something that had $ and / in it please ?
eg
instead of ADDED_LINE_TO_GO_HERE
it was
$ADDED_LINE/to/go/here

I tried the following, but it didn't work .....
3,693
Posted By d__browne
Add a line to a specific spot in a file
Hello,

Simple if you know how, which I don't.

I would like to add a line to file file.env

file.env consists of the following :

line 1-20 here ..
# Begin customizations
...
7,073
Posted By d__browne
Thanks for sticking with me on that one. Totally...
Thanks for sticking with me on that one. Totally new to awk and nawk.
7,073
Posted By d__browne
appprj03@dbsdev15 $ echo...
appprj03@dbsdev15 $ echo '/home/dba/appdba01/clone.log' | nawk -F/ -v OFS=/ '{NF--;$1=$1;print}'
/home/dba/appdba01

wanted clone.log

thanks.
7,073
Posted By d__browne
sorry, dont get it
sorry, dont get it
7,073
Posted By d__browne
I am on solaris. Thanks for your help. Now I get...
I am on solaris. Thanks for your help. Now I get this ..

appdba01@dbsdev15 $ echo '/home/dba/appdba01/clone.log' | nawk -F/ -v S=/ '{NF--;$1=$1;print}'
home dba appdba01
7,073
Posted By d__browne
Hi Vergsh99, I tried it but this is what I got .....
Hi Vergsh99, I tried it but this is what I got ..

appdba01@dbsdev15 $ echo '/home/dba/appdba01/clone.log' | awk -F/ -v FS=/ '{NF--;$1=$1;print}'
awk: syntax error near line 1
awk: bailing out...
7,073
Posted By d__browne
awk question
Hello Peeps,

How can I use awk to strip the filename off the end please ?

/dir/dir/dir/dir/filename ?

Thanks,
Dave
8,024
Posted By d__browne
thanks Vino. I'm new to sed. Appreciate your help.
thanks Vino. I'm new to sed. Appreciate your help.
8,024
Posted By d__browne
tried both suggestions, neither worked. sed...
tried both suggestions, neither worked.

sed -e "your_command" file.xml

just cats the file and does nothing
8,024
Posted By d__browne
Hi thanks for the reply. I'm not sure I...
Hi thanks for the reply.
I'm not sure I understand the command, I just need to replace the 8 with the 1 on that particular line in file.xml
Will this do that ? I cant see how it will.
Thanks
8,024
Posted By d__browne
sed search and replace
Hello Folks,

Anyone know how I can replace this line in file.xml

<oacore_nprocs oa_var="s_oacore_nprocs">8</oacore_nprocs>

with this line

<oacore_nprocs...
2,457
Posted By d__browne
thanks blowtorch for the quick reply.
thanks blowtorch for the quick reply.
2,457
Posted By d__browne
changig uid and the affect it will have
Hello,

I have 2 sun servers. We are running Oracle apps. We have to apply patches to both servers whenever a patch needs to be applied for Oracle.

We use the same username eg. applmgr on both...
Showing results 1 to 20 of 20

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