01-20-2009
Don't do people's homework assignments!
It is against the Unix forum policy and just encourages them to keep coming back and continue posting homework problems to be done by the very helpful and well meaning people here.
To those posting your homework, you're not learning anything by doing that. If your response is that you don't want to learn this stuff, then reconsider the career path that you are on that would require you to take courses and learn things that you inherently aren't interested in. It is a sad existence that you are setting yourself up for.
To those that help these people, consider that someday you will have to hire someone with Unix scripting experience. Would you prefer to have someone who has actually struggled with the vagaries of scripting in Unix/Linux, who asked for and learned from the help they received when they got stuck, or do you want someone who posted all their homework to some web forum so someone else could do all the work and they learned nothing. I guess what I am saying is that you are setting yourself up (or one of us) for that situation.
And it will SUCK!
Look, I know that scripting in Unix isn't easy. Programming is an inherently challenging task. Using Unix and Linux to do real work is tough. I love these forums because they are full of very helpful people working together to solve real problems in their everyday lives.
That is awesome!
But, please, use some judgement. KevinADC is right. Just looking at some of the questions that are posted here makes it easy to spot the simple homework problems.
If nothing else, help the students, but do it in a way that makes them learn. Ask them what they have tried first. Have them post their code and output. Guide them to the correct answer instead of just handing it over.
Just my 2 cent rant for the day.
8 More Discussions You Might Find Interesting
1. Cybersecurity
I need a great Password Generator program. I looked at a few of them, but none of them seemed to be what I wanted. So I have decided to write my own. (That's the cool thing about being a programmer....I always get what I want in software :) )
Do you have any password generators that you... (13 Replies)
Discussion started by: Perderabo
13 Replies
2. UNIX for Dummies Questions & Answers
Is there a command to generate the unix date that is in theshadow file?>? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. Shell Programming and Scripting
I want to print between the range two patterns if a particular pattern is present in between the two patterns. I am new to Unix. Any help would be greatly appreciated.
e.g.
Pattern1
Bombay
Calcutta
Delhi
Pattern2
Pattern1
Patna
Madras
Gwalior
Delhi
Pattern2
Pattern1... (2 Replies)
Discussion started by: joyan321
2 Replies
4. What is on Your Mind?
QR Code Generator (0 Replies)
Discussion started by: Neo
0 Replies
5. Shell Programming and Scripting
Hi experts,
I'd like to generate the table/file containing:
number of milliseconds elapsed since midnight till midnight.
It should contain 5 columns (hours minutes seconds milliseconds):
Table will have theoretically 86 400 000 rows.
My question is , is there somewhere the file or source... (7 Replies)
Discussion started by: hernand
7 Replies
6. Shell Programming and Scripting
Thanks Guys
This really helped (5 Replies)
Discussion started by: robert89
5 Replies
7. Shell Programming and Scripting
Hello again unix.com people,
I need your help again. I'm currently need a script that will generate ip ranges... lets say from 64.1.1.1 to 74.255.255.255 and the output should be like this:
64.1.1.2
64.1.1.3
.............
.............
74.255.255.254
74.255.255.255
(line-by-line)
... (7 Replies)
Discussion started by: galford
7 Replies
8. Shell Programming and Scripting
Hello
I use a bash script to creating the hosts file /etc/hosts
But there is a bug inside my output and I want to fix this.
My Array looks like this:
205,IP 111.122.133.20
205,HOST2 unas
205,HOST1 unas15533
205,COMMENT # UNAS
775,IP ... (9 Replies)
Discussion started by: Marti95
9 Replies
LEARN ABOUT DEBIAN
mojolicious::command::generate
Mojolicious::Command::generate(3pm) User Contributed Perl Documentation Mojolicious::Command::generate(3pm)
NAME
Mojolicious::Command::generate - Generator command
SYNOPSIS
use Mojolicious::Command::generate;
my $generator = Mojolicious::Command::generate->new;
$generator->run(@ARGV);
DESCRIPTION
Mojolicious::Command::generate lists available generators.
ATTRIBUTES
Mojolicious::Command::generate inherits all attributes from Mojolicious::Commands and implements the following new ones.
"description"
my $description = $generator->description;
$generator = $generator->description('Foo!');
Short description of this command, used for the command list.
"hint"
my $hint = $generator->hint;
$generator = $generator->hint('Foo!');
Short hint shown after listing available generator commands.
"message"
my $message = $generator->message;
$generator = $generator->message('Bar!');
Short usage message shown before listing available generator commands.
"namespaces"
my $namespaces = $generator->namespaces;
$generator = $generator->namespaces(['Mojo::Command::generate']);
Namespaces to search for available generator commands, defaults to Mojolicious::Command::generate and Mojo::Command::generate.
METHODS
Mojolicious::Command::generate inherits all methods from Mojolicious::Commands and implements the following new ones.
"help"
$generator->help('app');
Print usage information for generator command.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojolicious::Command::generate(3pm)