which progrraming language to learn first
Colin Watson
cjwatson at ubuntu.com
Fri Jul 15 20:23:17 UTC 2005
On Fri, Jul 15, 2005 at 02:47:23PM -0400, Stephen R Laniel wrote:
> On Fri, Jul 15, 2005 at 11:10:24PM +0500, Mustafa Abbasi wrote:
> > essnetially i was looking into shell scripting and found it
> > interesting so i thought i'd like a crack at that.
>
> Perl is essentially a replacement for shell scripts, and it
> gets rid of a lot of the ridiculous hoops you have to go
> through in, say, bash. In bash, to add two numbers and
> assign them to the variable x, you have to do
>
> x = (( 1 + 2 ))
(Actually, you have to do:
x=$((1 + 2))
)
(Cheers,)
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list