Re: The Real Linux World
From: Les Mikesell (lesmikesell_at_gmail.com)
Date: 04/28/05
- Previous message: Bob Palank: "FC4 - Live CD Availability"
- In reply to: Mark Sargent: "Re: The Real Linux World"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: powderkeg@snow.email.ne.jp, For users of Fedora Core releases <fedora-list@redhat.com> Date: Thu, 28 Apr 2005 11:19:12 -0500
On Thu, 2005-04-28 at 02:37, Mark Sargent wrote:
> thanx, Joel. I got the answer from someone on another forum. I had
> missed that $LINES was already set to 50 and that $1 is just an argument
> replacer(?).
>
> $ ./first-script.sh arg1 arg2 arg3
>
> In this case, $1 = arg1 , $2 = arg2 , $3 = arg3 and so on.
> Note that $0 = ./first-script.sh
>
> Whilst I appreciate the power of man, sometimes it's cryptic in the way
> it speaks to you. Cheers.
It is worth the trouble to learn what the shell does first before
trying to understand the other commands. The shell parses every
command line you type and performs variable substition, i/o redirection,
and wild-card filename expansion before the other programs even start,
thus you won't find them discussed in all those other man pages.
-- Les Mikesell les@futuresource.com -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Bob Palank: "FC4 - Live CD Availability"
- In reply to: Mark Sargent: "Re: The Real Linux World"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|