Search Results

Search: Posts Made By: suraj.sheikh
2,550
Posted By suraj.sheikh
worked ! it worked ! You are a rockstar!...
worked !
it worked !

You are a rockstar! ahamed101

Thanks a million.
2,550
Posted By suraj.sheikh
Library on Remote machine or $PATH is not working..
I don't know how to put this. However here is the problem.

While executing command remotely on a Unix machine i get an error

/usr/lib/hpux32/dld.so: Unable to find library 'libxerces-c.sl.21'....
2,672
Posted By suraj.sheikh
i get this user1@host1 ->ssh user@host...
i get this


user1@host1 ->ssh user@host "echo 123"
123
user1@host1 ->
2,672
Posted By suraj.sheikh
Its still not working for me what i am doing is ...
Its still not working for me what i am doing is


user1@host1: ->ssh user@host "export DIR=/trumpet/uatuse1/uat/ogs/QUANTUM/NXT/data ; echo $DIR"

user1@host1: ->
2,672
Posted By suraj.sheikh
Problems with remotely executing scripts
Hi,

in the below command, i export a value to a variable which later is used by the script, however i dont see the exported value is actually been exported.


ssh user@host "export var=/path/ ;...
8,559
Posted By suraj.sheikh
tried this, but didn't work sed...
tried this, but didn't work
sed 's/\(.*\)'$line'/\1/' $file_cases > $file_temp_cases_tmp

also tried
sed 's/string/replace/' filename
but it replaces all the string


Video tutorial on how to...
8,559
Posted By suraj.sheikh
Search and replace only the first occurance
Hi,

I need to search a string and replace with nothing, but only the First occurring string

using sed/perl/awk
1,919
Posted By suraj.sheikh
Thanks for you reply, But the code you provided...
Thanks for you reply,
But the code you provided doesn't work...
it doesn't print anything.
1,919
Posted By suraj.sheikh
Read 2 files alternatively based on condition.
Experts,

What would be the code in ksh/perl to read 2 files alternatively, based on the following condition.

while reading file 1 we check if a blank line is encountered,
if yes, then we read...
1,816
Posted By suraj.sheikh
while loop problem
Hello Experts,

I am using the below code, but the problem here is, the file output.txt contains lines as below, and while displaying it on the screen, it displays the file listing...
1,981
Posted By suraj.sheikh
Thank you guys, k_manimuthu your code did work,...
Thank you guys,
k_manimuthu your code did work, but its appending file 2 to file 1, i need to write the data from both the file alternatively...

tried a different approach...
still fine tuning...
1,981
Posted By suraj.sheikh
provided the output
provided the output
1,981
Posted By suraj.sheikh
Hi Ranga, The output should be a new file,...
Hi Ranga,

The output should be a new file, say file 3 with line of file 1 and file 2
file 3
line1 (file1)
line2 (file1)
line3 (file1)
line1 (file2)
line2 (file2)
line3 (file2)
<blank line>...
1,981
Posted By suraj.sheikh
Looping through only blank lines of a file.
I am sorry if I am posting in wrong thread.

Experts,
I have 2 files
File 1 File 2
line1 line1 |
line2 line2 | group 1
line3 ...
Showing results 1 to 14 of 14

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