Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cpanplus::shell::default::plugins::source(3pm) [mojave 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.18.2 2014-01-06 CPANPLUS::Shell::Default::Plugins::Source(3pm)

Check Out this Related 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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Converting excel to text

Is it possible to convert an excel file into a text file using standard HP UNIX commands? Possibly in K Shell? (5 Replies)
Discussion started by: stevefox
5 Replies

2. Shell Programming and Scripting

Unix Korn Shell Array Issue (SunOS)

Hello, I'm currently messing around with arrays for the first time in scripting (Unix Korn Shell). All I'm trying to do right now before I make things complicated is read through and print out to screen whether the read file is or is not a directory. Here is my directory: ls -l total... (5 Replies)
Discussion started by: Janus
5 Replies

3. UNIX for Advanced & Expert Users

AutoSys Tutorials

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)
Discussion started by: cpm189
6 Replies

4. Shell Programming and Scripting

Convert Variable file to fixed file.

I have a set of variable date log files /tmp/test/test1_<YYYYMMDD>_A.log /tmp/test/test2_<YYYYMMDD>_B.log /tmp/test/test3_<YYYYMMDD>_C.log /tmp/test/test4_<YYYYMMDD>_D.log /tmp/test/test5_<YYYYMMDD>_E.log which should be converted (should have content of all the above listed files) into... (9 Replies)
Discussion started by: abhi9845
9 Replies

5. UNIX for Dummies Questions & Answers

Which Unix for me?

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)
Discussion started by: Apina
8 Replies

6. UNIX for Dummies Questions & Answers

Y or N in a Shell

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)
Discussion started by: Producer
14 Replies

7. Shell Programming and Scripting

How to extract a substring and append to subsequent lines

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)
Discussion started by: jaligamasriniva
5 Replies

8. UNIX for Dummies Questions & Answers

How to use a Shell Script for specific commands

I have a set of commands that I am using to copy specific areas of source code in a Cold Fusion document and export the code into recreations of the original files into a sub-directory. Here are the 3 commands I am using: mkdir ./out && for x in *.cfm; do awk '{FS="<!-- InstanceBeginEditable... (17 Replies)
Discussion started by: dratech09
17 Replies

9. UNIX for Dummies Questions & Answers

Shell command help

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)
Discussion started by: pchelpmtl
7 Replies

10. Shell Programming and Scripting

How to extract column consistently ?

Hi all, My goal is to always get the value at col4 in a file that contains below. col1 col2 col3 col4 col5 xdf sdee sdff cfdd ddd rfg fgt grf drft I have tried the following but for the first entry(xdf sdee sdff cfdd) the 4th column is col5... (7 Replies)
Discussion started by: johnsanty
7 Replies

11. Shell Programming and Scripting

Need Software to practice Shell scripting

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)
Discussion started by: Nikhath
5 Replies

12. Shell Programming and Scripting

Trying to run a basic for loop

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)
Discussion started by: kraljic
8 Replies

13. Shell Programming and Scripting

Source code compilation

Need assistance in Source code compilation . When installing a software compiling a source code . Whatever the output that prints on the screen i want to log it into a file. How can i see output and store the output to file ./configure make make install Is there other way of seeing output... (5 Replies)
Discussion started by: ajayram_arya
5 Replies

14. Shell Programming and Scripting

Shell Script function to use script name for log file output

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)
Discussion started by: SIMMS7400
11 Replies

15. Shell Programming and Scripting

Help with writing Shell Script to automate process using multiple commands

(7 Replies)
Discussion started by: Sayed Ibrahim
7 Replies