09-26-2003
Ahh, I see said the blind man.
You setup a file called .plan in your home directory. Then when you use the finger command it will show info under plan.
$ cat .plan
who knows
$ finger myaccount
Login name: myaccount In real life: William Gates
Directory: /export/home/unixops Shell: /bin/ksh
On since Sep 26 09:02:40 on pts/0 from casqfe3.mycom.com
12 seconds Idle Time
No unread mail
Plan:
who knows
$
There is also a .project file that can be used. See the man page for finger.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am new to UNIX Shell Scripting.
I want to know what is the difference between the following two statements.
if
and
if
Thanks & Regards (3 Replies)
Discussion started by: tvkamesh
3 Replies
2. UNIX for Advanced & Expert Users
I have a problem, why should root access only be provided from a login on the console, and why should a user be forced to use "su" command to perform system maintenance, rather than logging in? (2 Replies)
Discussion started by: pnxi
2 Replies
3. Shell Programming and Scripting
:D could any one answer my previous question...
just looked through logg and found no such question that I had asked.. please any input would help \..
:confused: (2 Replies)
Discussion started by: moxxx68
2 Replies
4. Shell Programming and Scripting
linux fedora core2
:) i am trying to write a script to clear, date, pwd and tty a linux termnal or konsole.. when I test the tty against $0 i am, getting a premission denied on the terminal that I am trying to printf to.. I tried using an awk command, test condition, an if then fi clause, but... (6 Replies)
Discussion started by: moxxx68
6 Replies
5. UNIX for Dummies Questions & Answers
When i type cd etc/shadow it says that file or directory doesnt exist? Is there a way to show this or am i typing something wrong? :confused: (6 Replies)
Discussion started by: Corrail
6 Replies
6. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
7. Programming
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies
8. Shell Programming and Scripting
If given some output such as:
"I'm having a senior moment"
How do you print the last six characters to the screen?
I'm thinking with awk or sed but can't remember how. (1 Reply)
Discussion started by: stepnkev
1 Replies
9. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
LEARN ABOUT DEBIAN
test::inline::content::simple
Test::Inline::Content::Simple(3pm) User Contributed Perl Documentation Test::Inline::Content::Simple(3pm)
NAME
Test::Inline::Content::Simple - Simple templating Content Handler
SYNOPSIS
In your inline2test.tpl
----------------------
#!/usr/bin/perl -w
use strict;
use Test::More [% plan %];
$| = 1;
[% tests %]
1;
DESCRIPTION
It is relatively common to want to customise the contents of the generated test files to set up custom environment things on an all-scripts
basis, rather than file by file (using =begin SETUP blocks).
"Test::Inline::Content::Simple" lets you use a very simple Template Toolkit style template to define this information.
It contains only two tags, "plan" and "tests".
The "plan" tag will be inserted as either "tests =" 123> or 'no_plan'.
The "tests" tag will be replaced by the actual testing code.
METHODS
new $filename
Manually create a new "Test::Inline::Content::Simple" object. Takes as parameter a single filename which should contain the template code.
Returns a new "Test::Inline::Content::Simple" object, or "undef" on error.
template
The "template" accessor returns the template content for the object
process $Inline, $Script
The "process" method is unchanged from "Test::Inline::Content".
SUPPORT
See the main SUPPORT section.
AUTHOR
Adam Kennedy <adamk@cpan.org>, <http://ali.as/>
COPYRIGHT
Copyright 2004 - 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.12.4 2010-11-22 Test::Inline::Content::Simple(3pm)