![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| please explain the below | mail2sant | Shell Programming and Scripting | 1 | 04-04-2008 09:04 AM |
| explain plz | avikal | Shell Programming and Scripting | 2 | 04-03-2008 12:11 PM |
| Please can any one explain this ${0##/} | gadege | Shell Programming and Scripting | 2 | 04-01-2008 04:26 PM |
| Can anyone explain plz | r_W213 | UNIX for Advanced & Expert Users | 3 | 03-27-2007 05:52 AM |
| Explain awk | hitmansilentass | Shell Programming and Scripting | 4 | 09-27-2006 03:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hi all i wrote a shell script which uses perl script my code is : Code:
>cat filename | while read i
>do
>perl -e 'require "/home/scripts/abc.pl" ; abc("$i")'
>done
perl script used will simply check syntax of Cobol programs but it didn't work for me so i asked my colleague he suggested following changes but i didn't get any can u explain me what exactly this mean Code:
echo $i | perl -e 'require "/home/scripts/abc.pl" ; while (<STDIN>) {chomp $_ ; abc("$_");}'
what does $1 variable mean in perl ?? |
![]() |
| Bookmarks |
| Tags |
| perl regex, shell script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|