12-03-2001
I'm not sure what you are asking. Perhaps a more specific example would help us answer your question.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys!
Am new to this forum so would like to say hello to all.
Was wondering, what the best way to learn UNIX was?
Theoretically or Practically?
Cheers (2 Replies)
Discussion started by: bibah11
2 Replies
2. What is on Your Mind?
Alright I am looking to further my knowledge and experiance with computers (Currently a PC technician but not much knowledge with other operating systems like unix/linux). What im trying to do now is get a basic understanding of unix and its commands, unix shells, the unix directory structure, and... (5 Replies)
Discussion started by: Rycon
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all, and thanks for viewing this thread.
I have never used the terminal (UNIX) before, not until I read an introductory book about it: Unix for Mac OS X Tiger. Now I've become intrigued, and I want to uncover more of the mysteries of Unix. I've searched and searched, but there are many books... (5 Replies)
Discussion started by: Hin
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Can you give me some good document or link to learn more about "vi" editor. I'm interested to master its short-cut keys and tricks in the VI editor, please help, thank you. (1 Reply)
Discussion started by: Dev_Dev
1 Replies
5. Web Development
I have tried to create a web page browser window. An example, I copied what the book pretty much wanted but get only the header. What should I change? Also Anyone know any good books for this? Many thanks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Translation/EN"
... (4 Replies)
Discussion started by: N-Training
4 Replies
6. What is on Your Mind?
Hi Guys ,
Hope everybody is fine . I am here to learn UNIX . Please provide any URLs/pdfs for learning .
Thanks in advance.
-Radha
---------- Post updated at 07:59 PM ---------- Previous update was at 07:48 PM ----------
Just to add , I am good at basics but unable to write scripts... (4 Replies)
Discussion started by: radha254
4 Replies
7. AIX
Dear Sirs:
Good afternoon, my name is Javier.
I´m new to Unix and I am working as a Linux Server admin in an ISP from Argentina.
I´m want to in learn AIX, and find interesting information about it on some IBM Redbooks.
I would like to know if is there any possibility to Virtualize an AIX... (8 Replies)
Discussion started by: xavinux
8 Replies
8. Shell Programming and Scripting
Hello All,
I have come across a question from colleague about complex regex, so I written a regex using grep's -P option in PCRE regex. Since its a new learning for me, so thought to share with forums.
Lets say we have a Input_file with following test data:
cat Input_file
PROJECT =... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
LEARN ABOUT DEBIAN
prophet::cli::command
Prophet::CLI::Command(3pm) User Contributed Perl Documentation Prophet::CLI::Command(3pm)
Registering argument translations
This is the Prophet CLI's way of supporting short forms for arguments, e.g. you want to let '-v' be able to used for the same purpose as
'--verbose' without dirtying your code checking both or manually setting them if they exist. We want it to be as easy as possible to have
short commands.
To use, have your command subclass do:
sub ARG_TRANSLATIONS { shift->SUPER::ARG_TRANSLATIONS(), f => 'file' };
You can register as many translations at a time as you want. The arguments will be translated when the command object is instantiated. If
an arg already exists in the arg translation table, it is overwritten with the new value.
require_uuid
Checks to make sure the uuid attribute is set. Prints an error and dies with the command's usage string if it is not set.
edit_text [text] -> text
Filters the given text through the user's $EDITOR using Proc::InvokeEditor.
edit_hash hash => hashref, ordering => arrayref
Filters the hash through the user's $EDITOR using Proc::InvokeEditor.
No validation is done on the input or output.
If the optional ordering argument is specified, hash keys will be presented in that order (with unspecified elements following) for edit.
If the record class for the current type defines a "immutable_props" routine, those props will not be presented for editing.
False values are not returned unless a prop is removed from the output.
edit_props arg => str, defaults => hashref, ordering => arrayref
Returns a hashref of the command's props mixed in with any default props. If the "arg" argument is specified, (default "edit", use "undef"
if you only want default arguments), then "edit_hash" is invoked on the property list.
If the "ordering" argument is specified, properties will be presented in that order (with unspecified props following) if filtered through
"edit_hash".
prompt_choices question
Asks user the question and returns 0 if answer was the second choice, 1 otherwise. (First choice is the default.)
prompt_Yn question
Asks user the question and returns true if answer was positive or false otherwise. Default answer is 'Yes' (returns true).
print_usage
Print the command's usage message to STDERR and die. Commands should implement "usage_msg", which returns the usage message.
If the usage message method needs arguments passed in, use a closure.
get_cmd_and_subcmd_names [no_type => 1]
Gets the name of the script that was run and the primary commands that were specified on the command-line. If a true boolean is passed in
as "no_type", won't add '<record-type>' to the subcmd if no type was passed in via the primary commands.
perl v5.10.1 2009-08-19 Prophet::CLI::Command(3pm)