[30624] in Perl-Users-Digest
Perl-Users Digest, Issue: 1869 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Sep 23 03:09:39 2008
Date: Tue, 23 Sep 2008 00:09:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 23 Sep 2008 Volume: 11 Number: 1869
Today's topics:
Apache2::ASP installation <dj@fluidnetwork.com>
Re: closing filehandle for tee STDOUT <ced@blv-sam-01.ca.boeing.com>
Re: How to unable the use of tainted mode in a CGI scri xhoster@gmail.com
Re: How to unable the use of tainted mode in a CGI scri <tim@burlyhost.com>
Re: How to unable the use of tainted mode in a CGI scri <tim@burlyhost.com>
new CPAN modules on Tue Sep 23 2008 (Randal Schwartz)
Re: question about "package" and variable scope... <gypark@gmail.com>
Unix Shell Scripting course started in Kalwa <shubhamcomp@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 22 Sep 2008 18:50:42 -0700 (PDT)
From: DJ <dj@fluidnetwork.com>
Subject: Apache2::ASP installation
Message-Id: <6b5fdf22-97a4-47e6-a33d-75e043647184@73g2000hsx.googlegroups.com>
Hello all,
Just a quick question: am running into difficulty getting module
Apache2::ASP working, but I cannot seem to find a support repository
outside of googling for individual pages or installation hints other
than http://www.devstack.com. Would someone please point me in the
right direction?
Just in case this is common and I have missed it, the actual error
that I get out of my Apache logs is:
Use of uninitialized value $fixed in substitution (s///) at /usr/lib/
perl5/site_perl/5.10.0/Apache2/ASP/Config.pm line 224.
[Mon Sep 22 20:52:47 2008] [error] [client 192.168.1.10] Can't call
method "lib" on unblessed reference at /usr/lib/perl5/site_perl/5.10.0/
Apache2/ASP/Config.pm line 63.\n
Something that I tried hours ago made me think that the configuration
file was not being read, but I can no longer reproduce or even
remember what exactly I was doing at the time...
Thanks!
DJ
dj@fluidnetwork.com
------------------------------
Date: Mon, 22 Sep 2008 12:46:00 -0700 (PDT)
From: "C.DeRykus" <ced@blv-sam-01.ca.boeing.com>
Subject: Re: closing filehandle for tee STDOUT
Message-Id: <9a5650ab-3610-4ca0-8e22-f93177e23041@l33g2000pri.googlegroups.com>
On Sep 22, 2:16 am, Andry <yandr...@gmail.com> wrote:
> Hi all,
> I have a problem trying to "tee" STDOUT at some intervals, opening and
> closing filehandles.
> The following is a sample script:
> ******************************************************************
> #!/usr/bin/perl -w
>
> use File::Tee qw(tee);
>
> $|=1;
>
> open my $target1, '>', 'log1.txt';
> tee STDOUT, $target1;
> print "line one\n";
> close $target1;
>
> open my $target2, '>', 'log2.txt';
> tee STDOUT, $target2;
> print "line two\n";
> close $target2;
> *******************************************************************
> Given the above script, I expect to write "line one" in log1.txt and
> "line two" in log2.txt.
> Instead I get both "line one" and "line two" in log1.txt (while
> log2.txt only includes "line two").
> So I cannot manage to close log1.txt after printing "line one".
>
I believe you'll need to save/reopen STDOUT:
open my $target1, '>', 'log1.txt' or die $!;
open(my $oldout, ">&STDOUT")
or die "Can't dup STDOUT: $!";
tee STDOUT, $target1;
print "line one\n";
close STDOUT;
open STDOUT, ">&", $oldout or die "Can't dup \$oldout: $!";
open my $target2, '>', 'log2.txt';
tee STDOUT, $target2;
print "line two\n";
close $target2;
--
Charles DeRykus
------------------------------
Date: 22 Sep 2008 19:05:42 GMT
From: xhoster@gmail.com
Subject: Re: How to unable the use of tainted mode in a CGI script ?
Message-Id: <20080922150544.238$MP@newsreader.com>
Azol <azol@non-non-non> wrote:
> Hello.
>
> I have to use a long perl script which use the "tainted mode" (-T
> option), but the hoster we use doesn't allow this option unless on
> dedicated server (and, of course, we can't pay a dedicated server).
I would consider finding another host. They seem to have things backwards.
If I'm sharing a server with random other people, I want them to be forced
to use -T, not forbidden from it.
> What I have to do to remove the tainted mode in the script ?
Remove the -T.
> I'm using PERL sometimes, but don't know very well what implies this
> "tainted mode" option. However, I suppose removing the "-T" on bash line
> isn't enough :(
If it isn't, then I have no idea what is going on. It is probably a
weirdness peculiar to your hosting environment.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.
------------------------------
Date: Mon, 22 Sep 2008 20:52:01 -0700
From: Tim Greer <tim@burlyhost.com>
Subject: Re: How to unable the use of tainted mode in a CGI script ?
Message-Id: <CJZBk.113$Cl1.5@newsfe01.iad>
Azol wrote:
> Hello.
>
> I have to use a long perl script which use the "tainted mode" (-T
> option), but the hoster we use doesn't allow this option unless on
> dedicated server (and, of course, we can't pay a dedicated server).
>
> What I have to do to remove the tainted mode in the script ?
>
> I'm using PERL sometimes, but don't know very well what implies this
> "tainted mode" option. However, I suppose removing the "-T" on bash
> line isn't enough :(
>
> Could you tell me, please.
What do you mean that your host won't allow you to use Taint mode? Do
you mean they don't allow Perl, or actually don't allow you to use
Taint mode? That seems crazy, are you sure that's the case and there
wasn't some misunderstanding about the question or feature? I can't
imagine anyone in their right mind denying a user from using a switch
that helps keep your site (and by proxy, their service your site runs
on) from being exposed to problems with a potentially insecure portion
of your code? Is your script perhaps set to run in the background,
launching a child process or something? This is a really strange thing
to hear.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
Date: Mon, 22 Sep 2008 20:56:58 -0700
From: Tim Greer <tim@burlyhost.com>
Subject: Re: How to unable the use of tainted mode in a CGI script ?
Message-Id: <eOZBk.114$Cl1.104@newsfe01.iad>
Azol wrote:
> Hello.
>
> I have to use a long perl script which use the "tainted mode" (-T
> option), but the hoster we use doesn't allow this option unless on
> dedicated server (and, of course, we can't pay a dedicated server).
>
> What I have to do to remove the tainted mode in the script ?
>
> I'm using PERL sometimes, but don't know very well what implies this
> "tainted mode" option. However, I suppose removing the "-T" on bash
> line isn't enough :(
>
> Could you tell me, please.
Also, and this isn't something I'd usually suggest, if you plan to stay
with a host that (if what you say is true), is truly clueless enough to
not allow Taint to be used, then look here and upload the following:
http://www.cpan.org/modules/by-module/Taint/ and call that in your
script. I still get the impression that whatever tech representative
you spoke with or emailed at your host, likely didn't understand your
question, but if it fails with Taint mode on, be sure it's not your
script that's causing it to fail, and be sure they really don't allow
this to be switched on, because that is very strange.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
Date: Tue, 23 Sep 2008 04:42:22 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Tue Sep 23 2008
Message-Id: <K7Mt2M.zFn@zorch.sf-bay.org>
The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN). You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.
Acme-BOPE-0.01
http://search.cpan.org/~garu/Acme-BOPE-0.01/
Programe armado, cumpadi, e de farda preta.
----
Acme-CPANAuthors-French-0.05
http://search.cpan.org/~saper/Acme-CPANAuthors-French-0.05/
We are French CPAN authors
----
App-Module-Lister-0.12
http://search.cpan.org/~bdfoy/App-Module-Lister-0.12/
----
App-Module-Lister-0.13
http://search.cpan.org/~bdfoy/App-Module-Lister-0.13/
----
App-Smolder-Report-0.02
http://search.cpan.org/~melo/App-Smolder-Report-0.02/
Report test runs to a smoke server
----
App-Smolder-Report-0.03
http://search.cpan.org/~melo/App-Smolder-Report-0.03/
Report test runs to a smoke server
----
App-Smolder-Report-0.04
http://search.cpan.org/~melo/App-Smolder-Report-0.04/
Report test runs to a smoke server
----
Archive-Extract-0.27_01
http://search.cpan.org/~kane/Archive-Extract-0.27_01/
A generic archive extracting mechanism
----
Audio-Ecasound-Multitrack-0.97
http://search.cpan.org/~ganglion/Audio-Ecasound-Multitrack-0.97/
Perl libraries for multitrack audio processing using the Ecasound signal-processing engine.
----
Audio-Ecasound-Multitrack-0.97.1
http://search.cpan.org/~ganglion/Audio-Ecasound-Multitrack-0.97.1/
Perl libraries for multitrack audio processing using the Ecasound signal-processing engine.
----
Audio-Ecasound-Multitrack-0.972
http://search.cpan.org/~ganglion/Audio-Ecasound-Multitrack-0.972/
Perl libraries for multitrack audio processing using the Ecasound signal-processing engine.
----
CPAN-Testers-ParseReport-0.0.10
http://search.cpan.org/~andk/CPAN-Testers-ParseReport-0.0.10/
parse reports to www.cpantesters.org from various sources
----
CPANPLUS-YACSmoke-0.10
http://search.cpan.org/~bingos/CPANPLUS-YACSmoke-0.10/
Yet Another CPANPLUS Smoke Tester
----
Clutter-0.802
http://search.cpan.org/~ebassi/Clutter-0.802/
Simple GL-based canvas library
----
Compress-LZF-3.41
http://search.cpan.org/~mlehmann/Compress-LZF-3.41/
extremely light-weight Lempel-Ziv-Free compression
----
Config-Model-0.626
http://search.cpan.org/~ddumont/Config-Model-0.626/
Framework to create configuration validation tools and editors
----
Coro-4.747
http://search.cpan.org/~mlehmann/Coro-4.747/
coroutine process abstraction
----
DBD-ODBC-1.17
http://search.cpan.org/~mjevans/DBD-ODBC-1.17/
ODBC Driver for DBI
----
DBIx-Web-0.76
http://search.cpan.org/~makarow/DBIx-Web-0.76/
Active Web Database Layer
----
Data-Rebuilder-0.01
http://search.cpan.org/~lieutar/Data-Rebuilder-0.01/
Builds an object rebuilder.
----
Data-Rmap-0.62
http://search.cpan.org/~bowmanbs/Data-Rmap-0.62/
recursive map, apply a block to a data structure
----
DateTimeX-Easy-0.083_2
http://search.cpan.org/~rkrimen/DateTimeX-Easy-0.083_2/
Parse a date/time string using the best method available
----
File-Fetch-0.15_04
http://search.cpan.org/~kane/File-Fetch-0.15_04/
A generic file fetching mechanism
----
Games-Risk-1.0.2
http://search.cpan.org/~jquelin/Games-Risk-1.0.2/
classical 'risk' board game
----
Geo-Coordinates-OSGB-2.02
http://search.cpan.org/~toby/Geo-Coordinates-OSGB-2.02/
Convert Coordinates from Lat/Long to UK Grid
----
Gtk2-Ex-WidgetBits-4
http://search.cpan.org/~kryde/Gtk2-Ex-WidgetBits-4/
miscellaneous Gtk widget helpers
----
HTML-DOM-0.020
http://search.cpan.org/~sprout/HTML-DOM-0.020/
A Perl implementation of the HTML Document Object Model
----
HTML-Widget-Factory-0.068
http://search.cpan.org/~rjbs/HTML-Widget-Factory-0.068/
churn out HTML widgets
----
HTTP-MobileAgent-Plugin-Location-0.0.4
http://search.cpan.org/~kokogiko/HTTP-MobileAgent-Plugin-Location-0.0.4/
Add location fuctions to HTTP::MobileAgent
----
IBM-LoadLeveler-1.08
http://search.cpan.org/~hawkinsm/IBM-LoadLeveler-1.08/
Perl Access to IBM LoadLeveler API
----
IMDB-Film-0.34
http://search.cpan.org/~stepanov/IMDB-Film-0.34/
OO Perl interface to the movies database IMDB.
----
IO-CaptureOutput-1.10
http://search.cpan.org/~dagolden/IO-CaptureOutput-1.10/
capture STDOUT and STDERR from Perl code, subprocesses or XS
----
IPC-Cmd-0.41_05
http://search.cpan.org/~kane/IPC-Cmd-0.41_05/
finding and running system commands made easy
----
JE-0.026
http://search.cpan.org/~sprout/JE-0.026/
Pure-Perl ECMAScript (JavaScript) Engine
----
Kephra-0.3.10_15
http://search.cpan.org/~lichtkind/Kephra-0.3.10_15/
crossplatform, GUI-Texteditor along perllike Paradigms
----
Kephra-0.3.10_16
http://search.cpan.org/~lichtkind/Kephra-0.3.10_16/
crossplatform, GUI-Texteditor along perllike Paradigms
----
Lingua-Alphabet-Phonetic-0.103
http://search.cpan.org/~mthurn/Lingua-Alphabet-Phonetic-0.103/
map ABC's to phonetic alphabets
----
Lingua-Alphabet-Phonetic-NetHack-1.08
http://search.cpan.org/~mthurn/Lingua-Alphabet-Phonetic-NetHack-1.08/
map ASCII characters to names of NetHack items
----
MediaWiki-API-0.14
http://search.cpan.org/~exobuzz/MediaWiki-API-0.14/
Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)
----
Method-Signatures-0.03
http://search.cpan.org/~mschwern/Method-Signatures-0.03/
method declarations with prototypes and no source filter
----
Method-Signatures-0.04
http://search.cpan.org/~mschwern/Method-Signatures-0.04/
method declarations with prototypes and no source filter
----
Method-Signatures-0.05
http://search.cpan.org/~mschwern/Method-Signatures-0.05/
method declarations with prototypes and no source filter
----
Method-Signatures-0.10
http://search.cpan.org/~mschwern/Method-Signatures-0.10/
method declarations with signatures and no source filter
----
MooseX-Params-Validate-0.07
http://search.cpan.org/~drolsky/MooseX-Params-Validate-0.07/
an extension of Params::Validate for using Moose's types
----
NCGI-0.10
http://search.cpan.org/~mlawren/NCGI-0.10/
A Common Gateway Interface (CGI) Class
----
NSS-0.01_01
http://search.cpan.org/~claesjac/NSS-0.01_01/
Perl bindings to NSS (Netscape Security Services)
----
Net-IMAP-Client-0.4
http://search.cpan.org/~mishoo/Net-IMAP-Client-0.4/
Not so simple IMAP client library
----
POE-Component-IRC-Plugin-MegaHAL-0.07
http://search.cpan.org/~hinrik/POE-Component-IRC-Plugin-MegaHAL-0.07/
A PoCo-IRC plugin which provides access to a MegaHAL conversation simulator.
----
POE-Component-IRC-Plugin-MegaHAL-0.08
http://search.cpan.org/~hinrik/POE-Component-IRC-Plugin-MegaHAL-0.08/
A PoCo-IRC plugin which provides access to a MegaHAL conversation simulator.
----
POE-Component-IRC-Plugin-MegaHAL-0.09
http://search.cpan.org/~hinrik/POE-Component-IRC-Plugin-MegaHAL-0.09/
A PoCo-IRC plugin which provides access to a MegaHAL conversation simulator.
----
POE-Component-IRC-Plugin-MegaHAL-0.10
http://search.cpan.org/~hinrik/POE-Component-IRC-Plugin-MegaHAL-0.10/
A PoCo-IRC plugin which provides access to a MegaHAL conversation simulator.
----
POE-Component-PluginManager-0.65
http://search.cpan.org/~whoppix/POE-Component-PluginManager-0.65/
Make your POE programs plugin capable, really easy!
----
POE-Component-PluginManager-0.66
http://search.cpan.org/~whoppix/POE-Component-PluginManager-0.66/
Make your POE programs plugin capable, really easy!
----
Padre-0.10
http://search.cpan.org/~szabgab/Padre-0.10/
Perl Application Development and Refactoring Environment
----
Parse-MediaWikiDump-0.51.1
http://search.cpan.org/~triddle/Parse-MediaWikiDump-0.51.1/
Tools to process MediaWiki dump files
----
Perlanet-0.06
http://search.cpan.org/~davecross/Perlanet-0.06/
A program for creating web pages that aggregate web feeds (both RSS and Atom).
----
Perlbal-1.72
http://search.cpan.org/~dormando/Perlbal-1.72/
Reverse-proxy load balancer and webserver
----
Proc-Fork-0.71
http://search.cpan.org/~aristotle/Proc-Fork-0.71/
Simple, intuitive interface to the fork() system call
----
RTx-Tags-0.05
http://search.cpan.org/~jpierce/RTx-Tags-0.05/
----
RTx-Tags-0.051
http://search.cpan.org/~jpierce/RTx-Tags-0.051/
----
Rose-DBx-Object-Cached-CHI-0.04
http://search.cpan.org/~kmcgrath/Rose-DBx-Object-Cached-CHI-0.04/
Rose::DB::Object Cache using the CHI interface
----
Rose-DBx-Object-Cached-CHI-0.05
http://search.cpan.org/~kmcgrath/Rose-DBx-Object-Cached-CHI-0.05/
Rose::DB::Object Cache using the CHI interface
----
Rose-DBx-Object-Cached-CHI-0.06
http://search.cpan.org/~kmcgrath/Rose-DBx-Object-Cached-CHI-0.06/
Rose::DB::Object Cache using the CHI interface
----
Rose-DBx-Object-Cached-CHI-0.07
http://search.cpan.org/~kmcgrath/Rose-DBx-Object-Cached-CHI-0.07/
Rose::DB::Object Cache using the CHI interface
----
SVG-Calendar-0.1.1
http://search.cpan.org/~ivanwills/SVG-Calendar-0.1.1/
Creates calendars in SVG format which can be printed
----
SVN-Hooks-0.06.353
http://search.cpan.org/~gnustavo/SVN-Hooks-0.06.353/
A framework for implementing Subversion hooks.
----
Set-IntSpan-Island-0.05
http://search.cpan.org/~martink/Set-IntSpan-Island-0.05/
extension for Set::IntSpan to handle islands, holes and covers
----
Sub-Curried-0.05
http://search.cpan.org/~osfameron/Sub-Curried-0.05/
Currying of subroutines via a new 'curry' declarator
----
Sys-Manage-0.61
http://search.cpan.org/~makarow/Sys-Manage-0.61/
Systems management commands/scripts environment
----
Sys-Statistics-Linux-0.39_01
http://search.cpan.org/~bloonix/Sys-Statistics-Linux-0.39_01/
Front-end module to collect system statistics
----
Sys-Syslog-0.27
http://search.cpan.org/~saper/Sys-Syslog-0.27/
Perl interface to the UNIX syslog(3) calls
----
Template-Plugin-TwoStage-0.01_01
http://search.cpan.org/~alexk/Template-Plugin-TwoStage-0.01_01/
two stage processing of template blocks with first stage caching
----
Test-Aggregate-0.34_06
http://search.cpan.org/~ovid/Test-Aggregate-0.34_06/
Aggregate *.t tests to make them run faster.
----
Text-Template-Simple-0.54_12
http://search.cpan.org/~burak/Text-Template-Simple-0.54_12/
Simple text template engine
----
VS-Chart-0.08
http://search.cpan.org/~claesjac/VS-Chart-0.08/
Simple module to create beautifully looking charts
----
Variable-Magic-0.21_01
http://search.cpan.org/~vpit/Variable-Magic-0.21_01/
Associate user-defined magic to variables from Perl.
----
WWW-Search-AltaVista-2.153
http://search.cpan.org/~mthurn/WWW-Search-AltaVista-2.153/
class for searching www.altavista.com
----
XSLoader-0.09
http://search.cpan.org/~saper/XSLoader-0.09/
Dynamically load C libraries into Perl code
----
constant-1.16
http://search.cpan.org/~saper/constant-1.16/
Perl pragma to declare constants
----
pari-2.1.7
http://search.cpan.org/~ilyaz/pari-2.1.7/
----
perl-ldap-0.38
http://search.cpan.org/~gbarr/perl-ldap-0.38/
----
podlators-2.1.4
http://search.cpan.org/~rra/podlators-2.1.4/
----
warnings-unused-0.01
http://search.cpan.org/~gfuji/warnings-unused-0.01/
Produces warnings when unused variables are detected
If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.
This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
http://www.stonehenge.com/merlyn/LinuxMag/col82.html
print "Just another Perl hacker," # the original
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
------------------------------
Date: Mon, 22 Sep 2008 21:37:44 -0700 (PDT)
From: Raymundo <gypark@gmail.com>
Subject: Re: question about "package" and variable scope...
Message-Id: <0a1af287-1323-4c76-bfbc-dc34a82fa8fd@r15g2000prd.googlegroups.com>
On 9=BF=F923=C0=CF, =BF=C0=C0=FC12=BD=C315=BA=D0, Joost Diepenmaat <jo...@z=
eekat.nl> wrote:
> Raymundo <gyp...@gmail.com> writes:
> > Oh my God... I misunderstood "our" completely...;;;
>
> > Thank you very much.
>
> > So, both "our" and "my" have lexical scope... Then, if I want to
> > declare a variable that is visible in "only this package"... is there
> > any way to do so? (other than using braces that enclose the entire
> > package)
>
> You can use vars (which is also useful in some other situations):
>
> #!/usr/bin/perl
> use strict;
> use warnings;
>
> use vars qw($foo);
>
> $foo =3D "scalar foo in main";
>
> package Test;
>
> print "$foo\n"; # error: Global symbol "$foo" requires explicit packag=
e name
>
> --
> Joost Diepenmaat | blog:http://joost.zeekat.nl/| work:http://zeekat.nl/
Ooops.. I couldn't even imagine that "our" and "use vars" have
different scope rule...
Thanks again Joost for your helpful post.
------------------------------
Date: Mon, 22 Sep 2008 22:03:52 -0700 (PDT)
From: Shubham <shubhamcomp@gmail.com>
Subject: Unix Shell Scripting course started in Kalwa
Message-Id: <4a192ae6-fc0b-47fb-90ce-ef29195cc50c@m73g2000hsh.googlegroups.com>
HI Friends,
As Shell scripting is essential part of system administration day to
day
task. We are going to soon start shell scripting course.
Let us know if any body or there friends intrested for same.
*Below are contents.*
*Introduction*
This course is designed for beginners who wish to learn the basics of
shell
scripting/programming plus introduction to power tools such as awk,
sed,
etc. This course contains examples rather than all the features of
shell.
*Audience for this course*
I assume you have at least working knowledge of Linux i.e. basic
commands
like how to create, copy, remove files/directories etc or how to use
editor
like vi or mcedit and login to your system. But not expects any
programming
language experience. If you have access to Linux, this course will
provide
you an easy-to-follow introduction to shell scripting.
*What's different about this course*
Many other tutorial and books on Linux /Aixshell scripting are either
too
basic, or skips important intermediate steps. But this course,
maintained
the balance between these two. It covers the many real life modern
example
of shell scripting which are almost missed by many other
tutorials/documents/books. The idea is very clear "*do it yourself or
learn
by doing*" i.e. trying things yourself is the best way to learn, so
examples
are presented as complete working shell scripts, which can be typed
in and
executed
*Sessions Organization*
Session 1 to 4 shows most of the useful and important shell
scripting
concepts.
Session 5: introduction to tools & utilities which can be used while
programming the Linux shell smartly.
Session 6 and 7: Is all about expression and expression mostly used
by tools
such as sed and awk. Chapter 8 is loaded with tons of shell
scripting
examples divided into different categories. Chapter 9 gives more
resources
information which can be used while learning the shell scripting
like
information on Linux file system, common Linux command reference and
other
resources.
Session 1 introduces to basic concepts such as what is Linux, where
Linux
can used and continue enplaning the shell, shell script and kernel
etc.
Session 2 shows how to write the shell script and execute them. It
explains
many basic concepts which require writing shell script.
Session 3 is all about making decision in shell scripting as well as
loops
in shell. It explains what expression are, how shell understands the
condition/decisions. It also shows you nesting concept for if and for
loop
statement and debugging of shell script.
Session 4 introduces the many advanced shell scripting concepts such
as
function, user interface, File Descriptors, signal handling,
Multiple
command line arguments etc.
Session 5 introduces to powerful utility programs which can be used
variety
of purpose while programming the shell scripting.
Session 6 and 7 gives more information on patterns, filters,
expressions,
and off course sed and awk.
Session 8 contains lot of example of shell scripting divided into
various
category such as logic development, system administration etc.
Regards
Shubham-
email :- shubhamcomp@gmail.com
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 1869
***************************************