![]() |
|
|
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 |
| piping output from PHP file into variable | daydreamer | Shell Programming and Scripting | 2 | 12-08-2008 09:53 PM |
| assigning SED output to a variable = trouble! | hungryd | Shell Programming and Scripting | 7 | 09-09-2008 02:46 AM |
| Assigning output of a command to variable | jeriryan87 | Shell Programming and Scripting | 9 | 06-30-2008 05:55 PM |
| Assigning output to a variable | jpmena | Shell Programming and Scripting | 3 | 03-27-2008 04:39 AM |
| Assigning output of command to a variable | oma04 | Shell Programming and Scripting | 5 | 06-27-2006 01:11 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Piping and assigning output to a variable in Perl
Hi All, I am trying to convert the below Csh code into Perl. But i have the following error. Can any expert help ? Error: ls: *tac: No such file or directory Csh [code] set $ST_file = `ls -rt *$testid*st*|tail -1`; Perl Code:
my $ST_file = `ls -rt *$testid*st*|tail -1`; Last edited by Raynon; 05-13-2009 at 10:28 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|