PRINT (take two...)

How do I make print work on my system term

% print $(( 2+2 ))

I have tried on a different server and it works just fine, but on mine it gives me a variable error.

thanks
chmod me again

This could be a "shell" based errror; for example:

The code you provided failed on my system using the "BASH" (Bourne Again SHell) shell, but worked perfectly using the "KSH" (Korn SHell)!!!

Which shell are you using?

I mainly use C, i can change it to korn, but I feel most confortable with C

Thanks

Print is a ksh command - not available in other 'normal' shells.

% man print

User Commands print(1)

NAME
print - shell built-in function to output characters to the
screen or window

SYNOPSIS
ksh
print [ -Rnprsu [ n ] ] [ arg ... ]

DESCRIPTION
ksh
The shell output mechanism. With no flags or with flag - or
-, the arguments are printed on standard output as described
by echo(1).

Did you mean you usually use csh?

Thank you very much.
it works like a champ on ksh, i failed to look at the man pages

tony