07-01-2005
A couple of days back, I came across an URL wherein, someone actually posted the source code for a shell he wrote in c++.
That could be a good starting point for you. But if you use that as your point of beginning, then you would be biased to think in the same way he does.
But for pure learning purpose, I shall paste the URL here.
http://www.bloggerman.com/articles/2003/November/shell
Beware tho', if the moderators think this reply is in violation of the 'homework rule' they will remove it.
Best regards,
Vino
7 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
hey guys!
I am on a fedora core2 i686 with gui and I have a miniture cool-cam which is digital.. it connects through regular usb.. the system recognizes it and the when I go into the desktop peripheral and go to camera it gives name and tells test was successful.. it also says that the camera has... (0 Replies)
Discussion started by: moxxx68
0 Replies
2. UNIX for Dummies Questions & Answers
Maybe someone knows floppy distribution with which I could connect to the internet and browse sites. THanks for answers (1 Reply)
Discussion started by: Vilmis
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Well i m a taking an operating system course (newbie to unix)
we have studied till now: the fork () execv()
the teacher asked us to create a mini shell that execute a user command:
cmd1
he said everything in is optional we can use any combination
Well dudes , i m really... (2 Replies)
Discussion started by: ELECTRO
2 Replies
4. Programming
Hello fellow programmers!:)
First of all excuse me for my English, i am from abroad...
I am trying to learn the C++ programming language as it is one of the most basic languages.So,instead of just creating small examples for each feature(like class,input/output etc), I decided to create a mini... (6 Replies)
Discussion started by: bashuser2
6 Replies
5. Shell Programming and Scripting
Hi Experts,
I'm a newbie.....just now i started to write some simple scripts on my own. Can anyone suggest me any simple project kind of stuff to hone my SHELL SCRIPTING skills....which involves database connection and more than that.....bcoz i already tried to write a script which connects to... (0 Replies)
Discussion started by: kritibalu
0 Replies
6. Shell Programming and Scripting
Hi All,
I want to make something like described below -
"Double click on an executable file that will check the health status and other things of various linux servers and send an email to a list of people."
I can make shell scripts for individual servers but how to make a script that will check... (1 Reply)
Discussion started by: csrohit
1 Replies
7. Shell Programming and Scripting
Hi Guys!
Recently, I disassemble the MSH. And reconstructed. I thought maybe somebody wants to see looked like a second shell. In practice, the most ancient shell. It is written in assembler (AT&T). Owner Ken Thompson, Dennis Ritchie.
mov $parbuf,r1
mov $parp,r2
clr r3
jsr pc,blank... (0 Replies)
Discussion started by: GLbS
0 Replies
LEARN ABOUT MOJAVE
uri::url5.18
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences exist compared to the "URI" class interface:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs.
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path: same as ($uri->abs_path || "/")
o $url->netloc: same as $uri->authority
o $url->epath, $url->equery: same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters)
o $url->params and $url->eparams methods
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag: same as $uri->fragment
o $url->keywords: same as $uri->query_keywords
o $url->localpath and friends map to $uri->file.
o $url->address and $url->encoded822addr: same as $uri->to for mailto URI
o $url->groupart method for news URI
o $url->article: same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.18.2 2012-02-11 URI::URL(3)