cpanplus::shell::default::plugins::source5.16(3pm) [osx man page]
CPANPLUS::Shell::Default::Plugins::Source(3pm) Perl Programmers Reference Guide CPANPLUS::Shell::Default::Plugins::Source(3pm)NAME
CPANPLUS::Shell::Default::Plugins::Source - read in CPANPLUS commands
SYNOPSIS
CPAN Terminal> /source /tmp/list_of_commands /tmp/more_commands
DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that works just like your unix shells source(1) command; it reads in a file that has commands
in it to execute, and then executes them.
A sample file might look like this:
# first, update all the source files
x --update_source
# find all of my modules that are on the CPAN
# test them, and store the error log
a ^KANE$'
t *
p /home/kane/cpan-autotest/log
# and inform us we're good to go
! print "Autotest complete, log stored; please enter your commands!"
Note how empty lines, and lines starting with a '#' are being skipped in the execution.
BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>.
AUTHOR
This module by Jos Boumans <kane@cpan.org>.
COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell, cpanp
perl v5.16.2 2012-10-11 CPANPLUS::Shell::Default::Plugins::Source(3pm)
Check Out this Related Man Page
CPANPLUS::Shell::Default::Plugins::Source(3) User Contributed Perl Documentation CPANPLUS::Shell::Default::Plugins::Source(3)NAME
CPANPLUS::Shell::Default::Plugins::Source - read in CPANPLUS commands
SYNOPSIS
CPAN Terminal> /source /tmp/list_of_commands /tmp/more_commands
DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that works just like your unix shells source(1) command; it reads in a file that has commands
in it to execute, and then executes them.
A sample file might look like this:
# first, update all the source files
x --update_source
# find all of my modules that are on the CPAN
# test them, and store the error log
a ^KANE$'
t *
p /home/kane/cpan-autotest/log
# and inform us we're good to go
! print "Autotest complete, log stored; please enter your commands!"
Note how empty lines, and lines starting with a '#' are being skipped in the execution.
BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>.
AUTHOR
This module by Jos Boumans <kane@cpan.org>.
COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell, cpanp
perl v5.16.3 2013-05-20 CPANPLUS::Shell::Default::Plugins::Source(3)
I am starting to code a few ideas of customization and tasks improvements on the office UNIX machine. My first script (see below) only contains ALIAS commands. But for some reason, when I execute it, the alias are not executed. I suspect it is because of the "#!/bin/ksh" not being recognized or... (4 Replies)
I understand the code in the following may not be perfect, but I'll work that out. I'm more looking for ideas on how to do what I need more efficiently.
I have log files that are archived each day so today's log is called nmslog, yesterday's is nmslog.1.gz, 2 days ago nmslog.2.gz, etc. I want... (4 Replies)
Hi Gurus
I am very new to Unix Shell Prog. I have a file in format
Q1 Dirname-FileName Score Remarks
i.e. containing columns separated by space. I want to read Column 1 and 2 and then join them to make a string that would be a path to a file. I will use this string to fetch the files and... (4 Replies)
Hi,
Where can I find a good AutoSys User Guide so that I can get all the details on those AutoSys commands like "sendevent" and "autorep"?
Thanks a lot in advance. (6 Replies)
I'm looking to buy some books to help me learn more about Unix and shell scripting?
I have been looking at books i.e. Classic Shell Scripting,Unix power tools
Just don't know which is the best outthere for me i know the basics but don't want to buy books that will be no good
I currently am... (4 Replies)
I have been intrested in Unix for a while now. I have used Debian as hobby for couple years (so I understand basics of command line in *nix, but of course it isn't much) and I work in Windows Deskside support (yeah, yeah I know :D). Years ago I had a unix course in university (OS was sun os 5... (8 Replies)
Hello , ran into a problem
"I am using Vi," and
Im mid way down in a BASH
and Im trying to simply
make a statement along the lines of simply
Would you like to check the system ,
Y or N
And run these functions
when the Y or yes is given
cat /etc/passwd | wc -l
who | wc -l
ps... (14 Replies)
Hi all,I am really new to Shell Scripting.I have the following doubt.
Let us assume the one sample file which contains the below data
HEADERCARMENTRACIE1555090414
PERIOD0905090501090531
DETAIL0645693037023073836
GROUNDAV 090501 01
GROUNDAV 090502 01
TRIP 0091282542 0905084101... (5 Replies)
Hey guys, i am new in Shell programming and i would like to know some good links and websiites which has good tutorials and a wide range of examples on how the commands can be used. those which i have found just provide a brief coverage on the topic and mostly do not give proper examples of how the... (5 Replies)
Hi All,
I have a file with 3 columns (Bank Name, Account Number and Amount). My requirement, I need to delete lines using Unix Shell script:
1. Which are having Alphanumeric characters in Account Number (eg. Line3).
2. Which are having 0.00 in amount. (eg. Line4)
3. And also I need to... (4 Replies)
Hi to you all
I am fairly new to unix and a very green programmer.
Just to avoid some harsh responses as i saw in other posts: THIS ISNOT A QUESTION RELATED TO AN ASSIGNMENT OR CONTRACT" if i wanted to get something done for me, I would use my Rent A Coder or E Lance accounts. I am trying to... (7 Replies)
Hi,
I need a software in Windows to practice Shell scripting and unix commands.
Please let me know.
I have used Putty in Office network. Can it be used on single machine. If yes, How can I configure it.
Thanks. (5 Replies)
OS : RHEL 6.1
Shell : Bash
I had a similair post on this a few weeks back. But I didn't explain my requirements clearly then. Hence starting a new thread now.
I have lots of files in /tmp/stage directory as show below.
I want to loop through each files to run a command on each file.
I... (8 Replies)
Hi Team -
I"m very new to Shell Scripting so I have a rather novice question. My forte is Windows Batch Scripting so I was just wondering what the Shell Script equivalent is to the DOS command %~n?
%~n is a DOS variable that dispayed the script name.
For instance (in DOS):
REM... (11 Replies)