The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Perl cmds doesn't work in Bash shell . Plz help
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Perl cmds doesn't work in Bash shell . Plz help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
11-22-2008
adc22
Registered User
Join Date: Nov 2008
Location: Bangalore, India
Posts: 15
The script is -
#!/cygdrive/c/
Perl
/bin/
perl
$var=3 ;
printf $var;
@list=(1,2,3);
printf "@list";
---------------------------
the error i get in cygwin is -
bash: = 3: command not found
syntax error near unexpected token '1, 2, 3'
adc22
View Public Profile
Find all posts by adc22
Find adc22's past nominations received
Find adc22's present nominations given