skip to main
|
skip to sidebar
Super User
Tuesday, 1 April 2008
Commnd line options in perl
# Usage ./this_script-f /tmp/somefile.out -l 21,22,23,24
use Getopt::Std;
#Required if using strict.
our($opt_f,$opt_l);
getopt('fl');
my $inputfile=$opt_f;
my @list=split /,/,$opt_l;
Editing long lines in vi
<pre>
:set nowrap
</pre>
That's it.
Blogged with the
Flock Browser
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
My Blog List
stormsail
Abel's First Christmas
12 years ago
Rupert --verbose
SMF for Glassfish / SUN AppServer
16 years ago
Label Cloud
aggregate
aix
bash
blogging
books
debugging
disks
ethereal
filer
flexvol
guilty pleasures
Hotels
iscsi
javascript
ksh
ndmp
netapp
nfs
ontap
oracle
performance
performance cp parallel nfs netapp
perl
personal
pktt
programming
scripts
shell
snacks
sqlplus
ssh snapshot filer netapp passwordless roles
sysstat
tech
template
tethereal
trace
tradvol
tv
usenet
vi
aggregate
(1)
aix
(1)
bash
(1)
blogging
(1)
books
(1)
debugging
(1)
disks
(1)
ethereal
(1)
filer
(2)
flexvol
(1)
guilty pleasures
(1)
Hotels
(1)
iscsi
(1)
javascript
(1)
ksh
(1)
ndmp
(1)
netapp
(4)
nfs
(1)
ontap
(2)
oracle
(6)
performance
(1)
performance cp parallel nfs netapp
(1)
perl
(1)
personal
(2)
pktt
(1)
programming
(2)
scripts
(4)
shell
(1)
snacks
(1)
sqlplus
(1)
ssh snapshot filer netapp passwordless roles
(1)
sysstat
(1)
tech
(1)
template
(1)
tethereal
(1)
trace
(2)
tradvol
(1)
tv
(1)
usenet
(1)
vi
(2)
Recently Played Tracks
Loading...
Blog Archive
August
(1)
July
(1)
June
(2)
May
(2)
April
(2)
March
(1)
February
(2)
January
(1)
December
(7)
November
(7)
October
(1)
September
(1)
August
(4)
March
(3)
February
(3)
January
(5)
About Me
Gary
View my complete profile
Who"s Who?
Drunken Data
Dave Hitz (NetApp)
Chris Gerhard (Sun)
Stormsail (Andy Harrison)