Search Results

Search: Posts Made By: zmfcat1
1,315
Posted By zmfcat1
Hi Jacksona2, yes that is what I was referring...
Hi Jacksona2, yes that is what I was referring too it can be either in a function or your snippet. In the method you mentioned we will have to type that code after every link, however putting that in...
1,315
Posted By zmfcat1
Capture linking failures
Hi all,
I have a script file that has numerous linking commands (ln -s) and currently there is no checking to see if the linking is successful or not and I need to implement something that checks...
3,471
Posted By zmfcat1
var=$(sed -n 's/srvcName="\([^"]*\)"/\1/p'...
var=$(sed -n 's/srvcName="\([^"]*\)"/\1/p' source.xml)


I have changed the above command to the below to get thsi working.

var=`sed -n 's/serviceName="\([^"]*\)"/\1/p' name.xml`

I am...
3,471
Posted By zmfcat1
So if I do this I do not need to split the...
So if I do this I do not need to split the string? Using this method does it replacing the target with the string (with spaces), can you explain the sed command? Thanks.
3,471
Posted By zmfcat1
sh or bash. I have attempted to search and...
sh or bash. I have attempted to search and retrieve the contents of the string. I need some leads in what I can use to split the string, put it into an array and reformat it. Thx
3,471
Posted By zmfcat1
XML file parsing using script
Hi
I need some help with XML file parsing. I have an XML file with the below tag,
I need a script to identify the value of srvcName which is this case is "AAA srvc name". I need to put contents of...
44,858
Posted By zmfcat1
Any suggestions on this? Thx.
Any suggestions on this? Thx.
44,858
Posted By zmfcat1
Thx Tony. Any other suggestions on this? Thx.
Thx Tony. Any other suggestions on this? Thx.
44,858
Posted By zmfcat1
sed: replace string with another string (with spaces)
Hi
I have an XML file with strings XABCD, XEFGHX and XIJKLX. I would like to replace XABCDX with "This is the first string", XEFGHX with "This is the second string" and XIJKLX with "This is the...
7,994
Posted By zmfcat1
I am trying to understand your script..... ...
I am trying to understand your script.....

ftp -nv $Machine <<End_of_input

What does <<End_of_input mean here? Also what does
End_of_input
>>$TmpLogFile
mean?
5,728
Posted By zmfcat1
not bash, using sh. Thanks.
not bash, using sh. Thanks.
5,728
Posted By zmfcat1
Going through the getopts examples, it looks to...
Going through the getopts examples, it looks to expect a single character as an option, is that correct? In my case the options are more than a single character as in def hij etc. An example I saw...
5,728
Posted By zmfcat1
passing arguments
Hi
I have a script to which I pass multiple arguments, for example lets say the script name is "abc". I run the script like
./abc def /file <directory location>

In the above "def" is the first...
1,887
Posted By zmfcat1
Thanks.
Thanks.
1,887
Posted By zmfcat1
Thanks Jim. Another follow up question to...
Thanks Jim.
Another follow up question to that.....so is there going to be just one iteration in this loop? Just want to clarify the meaning of "while true", does it mean ...run this loop while...
1,887
Posted By zmfcat1
while command question
Hi
What does

while ( : ); do
......
......
......
done;

mean? Does "while ( : )" refer too while true? Thanks.
Showing results 1 to 16 of 16

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