Re: [newbie] UNIX INTRO: Shell Processing

1999-07-31 Thread Andy Goth
$ cat abcfile xyzfile This is the contents of xyzfile $ If anyone has an answer to this, tell us! Try tracing it. We can use a very important trick to find out: set -x - - What shells does that work with? UX, I know, but BASH? $ set -x $ $

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-30 Thread Andy Goth
So I was right. I was expecting pdksh, though (the Public Domain Korn SHell). It appears that the maillist switched the order of my two posts. Yes, the demonic mailer daemon strikes again... Yes, Korn Shell. In my experience pdksh is not a good substitute for ksh (although my

Re: [newbie] UNIX INTRO: lessons declared open source

1999-07-30 Thread Steve Winston
An aside..Or should I say: A peripheral issue.. I don't work with computer technology except to type lesson plans and make instructional materials for ESL classes I teach to adults. So, much of what I study about Unix or Linux is lost through my lack of use of it in my daily work. So,

Re: [newbie] UNIX INTRO: Pipes and Redirection

1999-07-29 Thread Andy Goth
Input redirection is symbolized by the character. Output is the character, and output with append uses the characters. That's like DOS (except that MORE FILE doesn't seem to work). $ echo this | thisfile -ksh: thisfile: cannot execute [Permission denied] KSH? Korn Shell? This is

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Andy Goth
When you encounter an error detected by the shell, it is normally flagged by the shell. In this example, the shell is Korn Shell, and the shell designation is "ksh": $ thisfile -ksh: thisfile: cannot execute [Permission denied] So I was right. I was expecting pdksh, though (the Public

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Dan Brown
From: Andy Goth [EMAIL PROTECTED] Alternately, you can call a shell and tell it to run the shell script file. "sh printpwd" should do the trick... is this right? In most shells, ". printpwd" (notice the period) will run a shell script as Both of those will run a script, but there's a

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Dan Brown
From: Dan Brown [EMAIL PROTECTED] From: Andy Goth [EMAIL PROTECTED] Alternately, you can call a shell and tell it to run the shell script file. "sh printpwd" should do the trick... is this right? In most shells, ". printpwd" (notice the period) will run a shell script as Both of

Re: [newbie] UNIX INTRO: Shells, redirection

1999-07-29 Thread Richard Myers
$ thisfile -ksh: thisfile: cannot execute [Permission denied] On Thu, 29 Jul 1999, Andy Goth wrote: So I was right. I was expecting pdksh, though (the Public Domain Korn SHell). It appears that the maillist switched the order of my two posts. Yes, Korn Shell. In my experience pdksh is

RE: [newbie] UNIX INTRO: Philosophy and pipes

1999-07-28 Thread John Aldrich
First, I apologize if this comes out in HTML. I just installed Outlook 97 for trouble-shooting purposes and haven't yet figured out how to turn off the "styled text" yet not even sure it's possible. *sigh* [mega-clip] But suppose we want all filenames with dates on the first of the month

Re: [newbie] UNIX INTRO: Philosophy and pipes

1999-07-28 Thread Ripcrd6
-Original Message- From: Richard Myers [EMAIL PROTECTED] It appears there is a majority opinion of those responding that we should start here, and perhaps move to another maillist in time. Someone suggested that a web page would be more appropriate, and I consider that a viable future

RE: [newbie] UNIX INTRO

1999-07-28 Thread Ken Wilson
Adding to this, 'Beginning Linux Programming' by Neil Matthew Richard Stones from WROX Press is good. Topics covered include: - shell programming - working with files - the UNIX environment - terminals - curses (ncurses these days I think) - data management - development