Snippet of what I understand from your requirement:
parag@ubuntu-studio:~$ cat app
#!/bin/bash
if [ $# -ne 1 ]
then
echo -e "Invalid number of input\nUsage: app "
exit 1
else
input=$1
fi
if [ $input != "register" ]
then
echo "Invalid choice"
exit 1
fi
echo "mac"
echo "windoze
On Wed, Jan 19, 2011 at 6:35 AM, Sean Murphy wrote:
> Hi guys,
>
> thanks. I have removed Active PERL and now are using strawberry to do my
> work. No problems with Strawberry and I can get rid of the MS C++ Express
> 2010 compiler.
>
s/PERL/Perl/;
http://perldoc.perl.org/perlfaq1.html#What%27s-t
On 19/01/2011 09:56, Sean Murphy wrote:
Hi all.
I am having a bad week. things are not working as they should. Grin.
Fix one problem ane another pops up.
I have been successful in logging into other sites using the
identity method when a loging pop-up appears. But as yet, I have not
been succes
Could you please tell me about this Strawberry ?
Thanks
Sunita
-Original Message-
From: Sean Murphy [mailto:mhysnm1...@gmail.com]
Sent: Wednesday, January 19, 2011 3:06 PM
To: Sisyphus; beginners@perl.org
Subject: Re: Windows 7 64 bit Make.exe file
Hi guys,
thanks. I have removed Acti
Hi all.
I am having a bad week. things are not working as they should. Grin. Fix one
problem ane another pops up.
I have been successful in logging into other sites using the identity method
when a loging pop-up appears. But as yet, I have not been successful in using a
loging form that is bui
Hi guys,
thanks. I have removed Active PERL and now are using strawberry to do my
work. No problems with Strawberry and I can get rid of the MS C++ Express
2010 compiler.
Sean
- Original Message -
From: "Sisyphus"
To: "Sean Murphy" ;
Sent: Wednesday, January 19, 2011 3:52 PM
Subj
Hi Khabza,
> I have end up using ASCII Encoding instant of UTF-8
> it does not find any thing if I use 'BC' . chr(0x20AC) . '01' then i
> change to 'BC' . chr(0x80) . '01'
>
> The following code works
>
> if ( $euros eq 'BC' . chr(0x80) . '01' ) { # 0x20AC is the
> hexadecimal value of €
>
Hi,
I am trying to automate a cli application that has multiline output. I
want to be able to grep for this multi line output as single string
using Expect module and send some keys as input.
The cli would be something like
bash-3.00# /opt/myapp/bin/app register
1) someservername(1)
2) someoptio
Hi Khabza,
> now my problem is I cant type € symbol on my editor Textpad it return funny
> characters like €
Textpad probably allows you to set the encoding of the file to UTF-8,
I think. Set it to UTF-8 so that you will be able to type in the €
symbol.
use utf8; # use whenever source cod
Just installed Linux, wanted to get some CPAN modules for Perl.
did this:
perl -MCPAN -e shell
but it's never done this before - see below:
I would like to connect to one of the following sites to get
'MIRRORED.BY':
http://www.perl.org/CPAN/
ftp://ftp.perl.org/pub/CPAN/
Is it OK to try to c
10 matches
Mail list logo