Search Results

Search: Posts Made By: ganga.dharan
3,560
Posted By ganga.dharan
Thanks Pamu.. I got the below output adding tr so...
Thanks Pamu.. I got the below output adding tr so i added export in front of it

./test: line 6: SERVERS_1=ssp01 ssp02 ssp03 ssp04 : command not found
_1
./test: line 6: SERVERS_2=ssp05 ssp06...
3,560
Posted By ganga.dharan
Thanks Elixir.. But i want it to be assigned to...
Thanks Elixir.. But i want it to be assigned to the dynamic variable SERVERS_${i} as i have to perform some other manipulation with the end result..
3,560
Posted By ganga.dharan
Assign output to dynamic variable
Hi Folks,

I am trying to assign a value from the command to a dynamic variable. But I am not getting the desired output.. I am sure something is wrong so i need experts advise.

There will be...
Forum: Solaris 01-18-2012
3,652
Posted By ganga.dharan
grep result in newline
Hi

While trying to do a search on solaris, the grep results seems to be appearing on the same line instead of the new line.


Wed Jan 18 14:45:48 weblogic@test:/abcd$ grep qainejb02 *...
Forum: Solaris 11-18-2011
8,689
Posted By ganga.dharan
thanks bash test.sh worked like a charm.. thanks...
thanks bash test.sh worked like a charm.. thanks for the help
Forum: Solaris 11-17-2011
8,689
Posted By ganga.dharan
bad options(s)
Hi Folks,

I am seeing an issue in solaris, while running a script..

Script contents


#!/usr/bin/bash

echo $HOME
echo "********** RUNNING props on test ********"
....
1,567
Posted By ganga.dharan
thanks much.. works great.. thanks again..
thanks much.. works great.. thanks again..
1,567
Posted By ganga.dharan
thanks for ur timely help deindorfer.. i will try...
thanks for ur timely help deindorfer.. i will try this out and keep you posted..

---------- Post updated at 10:29 AM ---------- Previous update was at 07:59 AM ----------

Hi deindorfer,
Works...
1,567
Posted By ganga.dharan
Search in a set of lines using perl
Hi Experts,

i am beginner in perl and need your help to find a solution.. I have a block of multiple lines like below say module 1 to module 100

***** MAKING > module1 **************...
8,783
Posted By ganga.dharan
Grep between block of lines in a file
Hi Friends,

I have a file which has many of the statements like below

******** MAKING > noun1 [src/noun1] < cg_all
statements
statements
statements
********* MAKING > noun2 [src/noun2] <...
2,284
Posted By ganga.dharan
thanks all for your replies.. i tried all...
thanks all for your replies..

i tried all your commands.. it works well for counter and anything after trunk if that is a directory.. But i have many of these url's with filenames..

Ex:...
2,284
Posted By ganga.dharan
Whole word with sed?
Hi experts,

need a help in SED


file=counter.c
module=abcd
i=http://svn.company.com/svn/${module}/trunk/counter/${file}


When i do

echo ${i}| sed...
2,698
Posted By ganga.dharan
thanks danmero and scrutinizer,, ur soln works...
thanks danmero and scrutinizer,, ur soln works great..
2,698
Posted By ganga.dharan
it's not only *.doc.. dir might contain any file...
it's not only *.doc.. dir might contain any file exntensions.. I just thought to list just the file extensions..

---------- Post updated at 06:28 AM ---------- Previous update was at 04:18 AM...
2,698
Posted By ganga.dharan
File extensions in a dir
Hi All,

Is there a way to list all file extensions in a directory and its recursive dirs?

Thanks
5,474
Posted By ganga.dharan
but i don't :-(
but i don't :-(
5,474
Posted By ganga.dharan
thanks much ghostdog74.. yes that's the ultimate...
thanks much ghostdog74.. yes that's the ultimate goal.. i wud do sed 's/\r//' filename >filename.new
5,474
Posted By ganga.dharan
Find ^M Character
Hi Experts,

Is there a way to find whether a file contains ^M character in it?. It's quite obvious to vi, but can this be accomplished using an automated way to find recursively in a directory.
...
2,683
Posted By ganga.dharan
Email with messagebody and attachments
Hi Friends,

I am using perl on windows environment and i wish to send out an email with body of the mail referring from a text file and attaching a file. Perl should read the body of the mail from...
2,294
Posted By ganga.dharan
Thanks for ur reply.. I tried correcting @cmstop...
Thanks for ur reply.. I tried correcting @cmstop as well.. it doesn't work

@cmstop = `ccm stop`;
open (LOGFILE, ">>$logfile");
print LOGFILE @cmstop;
close (LOGFILE);

The actual ccm stop...
2,294
Posted By ganga.dharan
Concatenate Logs - Perl Question
Hi All,

I am fresh to perl and had been using shell scripting in my past experiences.

In my part of perl program, i am trying to run a application command ccm stop, which should give some...
7,114
Posted By ganga.dharan
Hi Otheus, But, in this case, this is not...
Hi Otheus,

But, in this case, this is not from existing path to a new directory. Both of them are existing already. I am expecting to link both the exsiting directories say, the files modifying...
7,114
Posted By ganga.dharan
i also tried within the same filesystem and it...
i also tried within the same filesystem and it didn't work either :-(

user@host:/base/projects/$ ln /base/projects/directory_A/* /base/projects/directory_B
ln: 0653-423...
7,114
Posted By ganga.dharan
Thanks John, The file systems are different. I am...
Thanks John, The file systems are different. I am testing in two different filesystem, /home/user is one filesystem and /base/projects is another filesystem. But actually, in realtime, the...
7,114
Posted By ganga.dharan
Link to a directory
Hi Experts,

Is there any way to link the contents (subdirectories/files) of a existing directory A to another existent directory B..

The relative path of /root/Directory A/
Directory A
|__...
Showing results 1 to 25 of 53

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