Search Results

Search: Posts Made By: beckss
1,027
Posted By beckss
Question to gurus with expect
Hi.,
I need to ask question for expect script.
I have prompt like [root@tlvexadb01 orachk]#
and very long script (orachk).
I added to expect script line
set prompt "(%|#|\\\$) $"
and insert...
697
Posted By beckss
Need urgent help !!!!
Hi gurus.
I need change some entries into xml files and I found how I can make this,
but also I need close xml tag
from this ->
<db_datfiles...
1,571
Posted By beckss
Thanks vidyadhar85., You sed command is work...
Thanks vidyadhar85.,
You sed command is work perfect, can you only explain me what some of brackets are mean ......
sed -n '/^DATAFILE/{x;s/,//;x;};1h;1!{x;p;};${x;p;}'
Thanks Stas.
1,571
Posted By beckss
Thanks, but what you can advise for me in my...
Thanks, but what you can advise for me in my case.
Stas.

---------- Post updated at 01:53 AM ---------- Previous update was at 01:34 AM ----------

Hi rajamadhavan.,
Perl commands not help...
1,571
Posted By beckss
Hi According to You advice I reversing order...
Hi
According to You advice I reversing order file and as you explain first occurance would be last occurance. This work correct.
My file is ->

STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE...
1,571
Posted By beckss
Hi., Thanks for you answer, but I paste only...
Hi.,
Thanks for you answer, but I paste only piece of code.
File indeed not large, but this delete comma not in proper place.

I need delete it only at section of ) SIZE 512M, before DATAFILE...
1,571
Posted By beckss
Question to gurus about sed.
Hi Folks.
I need change something into file and after all manipulation I need delete only last COMMA into this piece of code ->

GROUP 1 (
'/oralog1/ORAPRD/log01a.dbf',
...
995
Posted By beckss
Checking for print with script.
Hi!
During work as Oracle sysadmin. I need to print output of Oracle report (text mode) without first page. Into this page user has printed parameters of this report.
My idea was check number of...
1,869
Posted By beckss
Hi. Thanks for replay This is strange also...
Hi.
Thanks for replay
This is strange also for me. I mean if you into command line you need run echo "$v" | sed 's/./\\\0/g'

but if you into script you need run echo "$v" | sed 's/./\\\&/g'
...
1,869
Posted By beckss
Hi. This is code of my script-> #!/bin/ksh ...
Hi.
This is code of my script->
#!/bin/ksh

. ~/applprd.env


read A
read B

username=`echo $A`
echo "We have username $username ...."
pass=`echo $B`
echo "We have old password $pass...
1,869
Posted By beckss
Help with reading parameter.
Hi,.
I need a help with below strange behaviour.
I use into script parameters as
read A
read B
and my parameter B (password from Active directory) is changed by adding backslash to all...
1,101
Posted By beckss
Hi. Thanks for quick answers. Image, that...
Hi.
Thanks for quick answers.
Image, that parameter (password) is transferred into script as 123456as' or 123456as" or 123456as&.
' or '' or & or other char. are caused problem with receiving as...
1,101
Posted By beckss
Need help with spec. characters.
Hi.,
I need transfer as parameter into shell script some spec. characters, for example " or ' or & or \ at the end of second parameter. (this parameter used as changed password).
How I can transfer...
2,085
Posted By beckss
Hi Thanks for quick answer Staas.
Hi
Thanks for quick answer
Staas.
2,085
Posted By beckss
Help with convert string
Hi.
I will be very appreciated for help.
I need replace all characters into string with \ (backslash)
I mean if I have word abcdefg as input.
How I can convert it to \a\b\c\d\e\f\g

Thanks and...
1,880
Posted By beckss
Problem with links programm.
Problem with links programm.

Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
...
1,159
Posted By beckss
Need a help
Hi!
I run ps -e -o "time pid" | sort -n command for sorting and need to take only long processes (in this case they will be in format XX:XX:XX (case hours) or XX-XX:XX:XX ( addition days)).
I try...
Showing results 1 to 17 of 17

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