Search Results

Search: Posts Made By: jisha
Forum: Programming 01-27-2011
26,565
Posted By jisha
Wow.. this was so informative .. Thanks a lot...
Wow.. this was so informative ..
Thanks a lot for the detailed explanation. :)
Forum: Programming 01-27-2011
26,565
Posted By jisha
Calling c program from another c program
Hi All,

Probably this is a repeated question. My knowledge in this is limited and i got confused on all those materials i got in google search.
We use #include <> to include a predefined library...
7,603
Posted By jisha
Passing variable to Expression in back ticks.
Hi,

In my perl script I want to check whether *.csv files exist and take the count .
Below is the code:

$path = “/home/usr/jan/myfiles”
my $File_Count = `ls *.csv | wc -l `; # Checks in the...
1,564
Posted By jisha
Which Perl Module to use?
Hi,

I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this?

Thanks,...
57,140
Posted By jisha
That helped .. Thank you .. I tuned the code...
That helped .. Thank you ..

I tuned the code because i was getting the below error since I am using strict.
<Global symbol "%delim" requires explicit package name at 1.pl>

If I do not use...
57,140
Posted By jisha
The code satisfies my requirement .. Thank you .....
The code satisfies my requirement .. Thank you ..

Could you please explain me what the below code do?

if ($max<$delim{$&}++)
{
$destr=$&; # assign the delimiter string to a variable
...
57,140
Posted By jisha
I am trying to develop a scriptwhich takes 2...
I am trying to develop a scriptwhich takes 2 arguments and one option
Example

./1.pl <File1> <outputfile> -s ","

Here file1 is a text file withsome data (Say extracted from DB).
I do know...
2,771
Posted By jisha
Hi, Finally is there a way to find the...
Hi,

Finally is there a way to find the delimiter in the file?

Regards
JS
57,140
Posted By jisha
How to find the Delimiter?
Hi All,

Is there any method we can use to find what is the delimiter used in a text file, asuming the files has fixed number of colomns.

Thanks in advance.
Js
1,089
Posted By jisha
Perfect :b: Thank you so much ... quotemeta...
Perfect :b:

Thank you so much ... quotemeta is new to me.
1,089
Posted By jisha
Passing "|" in split function
Hi,

Can we pass delimiter "|" as reference.
Example:
my $delim = '|';
print "delim = <$delim> \n";
my $word = "I|know|you";
my ($fld1,$fld2,$fld3) = split(/\$delim/,$word);

print "fld1 =...
5,766
Posted By jisha
Thank you so much .. its working :)
Thank you so much .. its working :)
5,766
Posted By jisha
Accepting user input and arguments in PERL
Hi All,

Can we pass arguments while calling the perl script and as well as ask user input during execution of the script?

My program is as below:
I am passing arg1 and arg2 as argements to...
3,548
Posted By jisha
I used to get unexpected output before chomp was...
I used to get unexpected output before chomp was used. chomp removes the trailing strings usually the new line character. it should be used because a string with a newline character and same string...
3,548
Posted By jisha
It worked now. :cool: ---------- Post...
It worked now. :cool:

---------- Post updated at 04:57 PM ---------- Previous update was at 04:53 PM ----------



Thank u So much .. I simply didnot somehow consider using grep.
3,548
Posted By jisha
My sample AIDNameList.txt file is as below : ...
My sample AIDNameList.txt file is as below :
_________________________________
name1 emailid1
name2 emailid2
name3 emaild3

My program is to take input value from used (say "name2") and...
3,548
Posted By jisha
Thank you all for the reply ... but somehow it is...
Thank you all for the reply ... but somehow it is not working .. I am trying to tune it .. :b:

---------- Post updated at 03:02 PM ---------- Previous update was at 12:59 PM ----------



I...
3,548
Posted By jisha
Passing Variable to Regular Expression
Hi All,

Below is a sample code:
print "Enter the Name: ";
my $Name = <>;
print "Word is $Name";

open (FH,"AIDNameList.txt");
while (<FH>)
{...
Forum: Programming 02-03-2010
2,452
Posted By jisha
Error while including libraries
Hi All,

When i am trying to include graphics.h ,dos.h and conio.h, its giving error as follows:

pgm.c:2:17: dos.h: No such file or directory
pgm.c:3:22: graphics.h: No such file or directory...
6,108
Posted By jisha
Thank you so much ... that was very helpful. JS
Thank you so much ... that was very helpful.
JS
6,108
Posted By jisha
Thanks A lot pludi. I have some questions. ...
Thanks A lot pludi.
I have some questions.
Will this settings effect in any other way because i have seen in the .profile file ""set -o vi".

Also, u have mentioned 3 lines of code. could you...
6,108
Posted By jisha
Finally i have found something that works better....
Finally i have found something that works better. set -o emacs will help to press ESC twice so that auto competes. easier to use that esc-\.
But is there any other impacts of setting "emacs" on any...
6,108
Posted By jisha
Hi, After some research i have found that in...
Hi,

After some research i have found that in KSH autocomplete is by pressing ESC and then "\". Is there any option that without changing the shell ( as i read some where that we can change KSH to...
6,108
Posted By jisha
Completing Command Entry without Typing
Hi,

In my UNIX (KSH) sytem, in order to Complete Command Entry without Typing the whole path or name, I have to use ESC+\ where as I am used to press TAB key to do the same. Can anyone tell me...
Forum: Linux 12-17-2008
2,957
Posted By jisha
Rebooting Mounted servers
Hi All,

We have two servers DSERV1(red hat 8.0) and DSERV2(scounix 3.2) where DSERV1 is the NFS server and DSERV2 is the NFS client. We want to reboot these servers and wanted to know the...
Showing results 1 to 25 of 160

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