Search Results

Search: Posts Made By: Sudhakar333
4,243
Posted By Sudhakar333
Thanks for your input. I tried your suggested...
Thanks for your input. I tried your suggested code to check the presence of file and I can see the remote node throwing the following error and appears that usage "-f" option to check filename has...
4,243
Posted By Sudhakar333
Expect script fails to check file exists or not in remote node
Dear members, The following expect script connects to remote node and check for the file "authorized_keys" in directory /root/.ssh in remote node. However the result is always found even if the file...
4,027
Posted By Sudhakar333
OS and version is Linux...
OS and version is


Linux 2.6.9-67.ELlargesmp #1 SMP Wed Nov 7 14:07:22 EST 2007 x86_64 x86_64 x86_64 GNU/Linux


The shell script reads the input parameter being passed, checks for a...
4,027
Posted By Sudhakar333
It doesn't make any difference as I am still...
It doesn't make any difference as I am still getting the syntax error

sh: -c: line 0: syntax error near unexpected token `newline'
4,027
Posted By Sudhakar333
Using this part of the code again leads to syntax...
Using this part of the code again leads to syntax error
sh: -c: line 0: syntax error near unexpected token `newline'



cmd = "./billdatecalc.sh " param



I tried this one , the syntax...
4,027
Posted By Sudhakar333
Thanks for the input. The syntax issue is solved....
Thanks for the input. The syntax issue is solved. However I don't see any data being passed in the parameter and it always seems to be empty. Any idea ?
4,027
Posted By Sudhakar333
Calling shell script within awk script throws error
I am getting the following error while passing parameter to a shell script called within awk script. Any idea what's causing this issue and how to ix it ? Thanks


sh: -c: line 0: syntax error...
1,209
Posted By Sudhakar333
Need to extract the data between slashes
I have got the following contents and please can you advise me on how to extract the following data that appears between the very first slashes.
Thanks

i.e 576 , 10000, 1299


...
1,159
Posted By Sudhakar333
Thanks for the input and it works as expected.
Thanks for the input and it works as expected.
1,159
Posted By Sudhakar333
Sorry I have missed it in the output.. ...
Sorry I have missed it in the output..

data1 data2 data3 data4
voice1 voice2 voice3 voice4
1,159
Posted By Sudhakar333
Display all the matches lines in one line using awk
Please can you let me know how to print all the matching lines from a file in one single line using awk. Thanks

I have the following data in the input file

data1
voice2
voice1
speech1...
5,718
Posted By Sudhakar333
Thanks for the awk code but this part of the code...
Thanks for the awk code but this part of the code doesn't print any data.. Any idea what is causing this issue ? May be the variables are out of scope ?

/<\\sn:data1/ {
...
5,718
Posted By Sudhakar333
The input file contains the data as follows: ...
The input file contains the data as follows:

<sn:data1="446776766">
<attributes>

<sn:accessData>MAIL<\sn:accessData>
..........
...........
...........
...
5,718
Posted By Sudhakar333
awk script throws invalid char expression
Hello there,

I am new to the awk scripting and getting the following error while running the script. Please can you advise me how to resolve this . Thanks

./sub_del_awk_lat.sh
awk: cmd....
25,764
Posted By Sudhakar333
To split a string to obtain the words delimited by whitespaces
Please can someone thow some light what is the best way to split a string to obtain the words delimited by whitespaces.
2,516
Posted By Sudhakar333
first value of array returns blank
Hi,

Please can you someone help me out to eliminate the problem. Here, it correctly prints the myFilenameCount but returns the first value of array myFilenamePatterns as blank.

Thanks,...
5,878
Posted By Sudhakar333
the first value is blank
Hi,

Please can you someone help me out to eliminate the problem. Here, it correctly prints the myFilenameCount but returns the first value of array myFilenamePatterns as blank.

Thanks,...
5,878
Posted By Sudhakar333
5,878
Posted By Sudhakar333
To return the elements of array
Hi,
Please can someone help to return the array elements from a function. Currently the problem I face is that tempValue stores the value in myValue[] as a string while I need an array of values to...
25,397
Posted By Sudhakar333
25,397
Posted By Sudhakar333
To store the output in a variable
Hi,

I am getting the following error while executing the script. Please can someone throw some light where is the problem. Many thanks.

./check[53]: temp: not found
The directory related to...
Showing results 1 to 21 of 21

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