Skip to contentSkip to conversation

Scripting Question

DISCUSSION Scott@Charter 2 participants 2 messages Mar 31, 2004

lore
Share & tools
lore
#0 lore raw

Thanks for the answers everyone. Now I need to get a comparison between a bash script and a Perl script. I know there probably is no comparison but it will help me.

Can I get a short script, one in Perl and one in bash that, let's say, prints the odd numbers between 1 and 10. That should be pretty short and sweet. I don't know Perl, unfortunately. It's been a while since I scripted bash too.

So please let me know.

Thanks Again.
Scott - Reno, NV

BEGIN:VCARD
VERSION:2.1
N:Smallsreed;Scott
FN:Scott Smallsreed
TEL;HOME;VOICE:775-849-8411
TEL;HOME;FAX:775-849-8412
ADR;HOME:;;3030 Chipmunk Dr.;Washoe Valley;Nevada;89704;US LABEL;HOME;ENCODING=QUOTED-PRINTABLE:3030 Chipmunk Dr.=0D=0AWashoe Valley, Nevada 89704=0D=0AUS EMAIL;PREF;INTERNET:[email protected]
REV:20040331T211509Z
END:VCARD

#1 lore raw

Scott, Why does it seem like we are doing homework for you? It doesn't seem like you have done any research yourself... Maybe you can provide some background to help you out.

Quoted 13 lines · On Wed, 31 Mar 2004 13:15:09 -0800, Scott@Charter…

Thanks for the answers everyone. Now I need to get a comparison between a bash script and a Perl script. I know there probably is no comparison but it will help me.

Can I get a short script, one in Perl and one in bash that, let's say, prints the odd numbers between 1 and 10. That should be pretty short and sweet. I don't know Perl, unfortunately. It's been a while since I scripted bash too.

So please let me know.

Thanks Again.
Scott - Reno, NV

Signature · 4 lines
|       Richard Nairn          Specializing in Linux
|     Nairn Consulting         Web / Database Solutions
|        Calgary, AB
 | [email protected]