On Nov 13, 4:08 am, subhashinibasavar...@gmail.com (Subhashini) wrote:
> #!/usr/bin/perl
> use strict;
> **";
> system ("dict -d fd-eng-fra $english > /tmp/myoutput");
> ...
> It stil doesn't work
The system call may fail so checking the return
status is always advised:
0
At 5:38 PM +0530 11/13/09, Subhashini wrote:
#!/usr/bin/perl
use strict;
print "ENTER THE WORD IN ENGLISH";
print "\n";
$english=;
print "word =";
print "$english";
print "\n";
print "*** FRENCH -TO - ENGLISH -
TRANSLATION*
#!/usr/bin/perl
use strict;
print "ENTER THE WORD IN ENGLISH";
print "\n";
$english=;
print "word =";
print "$english";
print "\n";
print "*** FRENCH -TO - ENGLISH -
TRANSLATION";
system ("dict -d fd-eng-fra $
This is the code that i have written
*#!/usr/bin/perl
print "ENTER THE WORD IN ENGLISH";
print "\n";
$english=;
print "word =";
print "$english";
print "\n";
print "*** FRENCH -TO - ENGLISH -
TRANSLATION";
s
2009/11/13 Subhashini :
>
> This is the code that i have written
>
>
> #!/usr/bin/perl
> print "ENTER THE WORD IN ENGLISH";
> print "\n";
> $english=;
> print "word =";
> print "$english";
> print "\n";
> print "*** FRENCH -TO - ENGLISH -
> TRANSLATION *
Dermot wrote:
2009/11/13 Subhashini :
I am doing a coversion on french to english words.I have installed the
dictionary and i could use it on my command prompt using the following
command.
dict -d fd-fra-eng bonjour This is a french to english coversion
dict -d fd-eng-fra potatoThis is
2009/11/13 Dermot :
> 2009/11/13 Subhashini :
>> i did try it but didn't work..
>
> Did try what? Can you please show us what you've tried. Post the
> updated version. And can you please reply to the mailing list. There
> will be others how might find the answer to their problem by searching
> the
2009/11/13 Subhashini :
> i did try it but didn't work..
Did try what? Can you please show us what you've tried. Post the
updated version. And can you please reply to the mailing list. There
will be others how might find the answer to their problem by searching
the archives and seeing your mail.
D
2009/11/13 Subhashini :
> hello dermot,
Hello
You should direct you replies to the mailing list. There are far
better programmers out there then me.
> I am doing a coversion on french to english words.I have installed the
> dictionary and i could use it on my command prompt using the following
2009/11/13 Subhashini :
> could you help me resolve this problem
I just did. Have a look at those docs and examples. They are pretty
clear. They show you exactly how to redirect to a file or STDERR.
[Quote]
1. system("prog args 1>tmpfile 2>&1");
2. system("prog args 2>&1 1>tmpfile");
[/Quo
2009/11/13 Subhashini :
> i am trying to execute unix commands using perl.I am doing this using *System
> command.*
> Could i know how i could r*edirect the output of that command onto a log
> file either by using a perl script or may be using command line arguments.*
> Please do help me.
See perl
11 matches
Mail list logo