Re: Power Poster for Binaries

From: CWO4 Dave Mann (misterfixit_at_loveable.com)
Date: 07/25/05

  • Next message: philo: "Re: Linux : Which one's best ?"
    Date: Mon, 25 Jul 2005 16:13:22 -0500
    
    

    Julian Bradfield wrote:

    > In article <1847724.IciQ1gGzub@linux.user.and.happy>,
    > CWO4 Dave Mann <misterfixit@loveable.com> wrote:
    >
    >>And I am assuming that the bit of shell code can be named and invoked by a
    >>alias with values to be plugged in on the fly - pausing to wait for input
    >>of the needed data? That would be too cool -- like writing a batch file
    >>for DOS, sort of.
    >
    > Of course - except that Unix shell scripts are far more powerful than
    > DOS batch files. You can either write an actual file, or you can just
    > define a function in your shell start-up file.
    >
    >>Would you have a recommendation for a shell programming text which I might
    >>check out from the Library?
    >
    > Unfortunately not. Put unix shell programming into Google, and see
    > what pops up.
    > One thing to note is that the modern "bash" shell shipped with almost
    > all Linux distributions has a lot of powerful and convenient features
    > that the old "sh" doesn't have. The line I gave would not work in an
    > old "sh". I don't know whether most books or online tutorials cover
    > this, so you might want to look explicitly for bash programming.

    Thanks again for the info. A few femtoseconds after I sent my earlier
    response to you I googled and received a cornocoupia of information.

    I am reading through the LinuxCommand.org web site's FAQ and info on shell
    scripting.

    When I look at, say, a ./make script it looks like a shell script. Thus if
    so, the whole of Linux is controlled by shell scripts, which -- of course
    if I am understanding this Ginzu the correct way -- makes it every so much
    easier to work with. It certainly appears more straightforward than, say,
    Job Control Language for a Honeywell big iron.

    Cheers,

    Dave

    -----------------

    Study History - Know the Future

    http://misterfixit.blogspot.com
    http://daves928.blogspot.com
    http://carondelet.blogspot.com


  • Next message: philo: "Re: Linux : Which one's best ?"

    Relevant Pages

    • Re: how to make function known to subshell
      ... What do I have to do to make a function available in shell scripts or ... When a command is parsed the first word will be checked against the ... In the Korn Shell, there are two separate syntaxes for defining ...
      (comp.unix.shell)
    • Re: ruby shell?
      ... If it had not all ready been largely done in C, Perl, Lisp, and KornShell ... versions I'd probably work on a shell and posix oriented userland for fun. ... The scripts i write are _bourne_ shell scripts, ... Unix utilities have been rewritten as Korn Shell scripts and it even can be ...
      (comp.lang.ruby)
    • Re: [ANN] Protect you Unix Shell Scripts!
      ... > Shell scripts are very powerful tools for UNIX development. ... Upon execution, the compiled binary will ... you don't need an interpreter. ...
      (comp.os.linux.portable)
    • Re: [ANN] Protect you Unix Shell Scripts!
      ... > Shell scripts are very powerful tools for UNIX development. ... Upon execution, the compiled binary will ... you don't need an interpreter. ...
      (comp.os.linux.questions)
    • Re: [ANN] Protect you Unix Shell Scripts!
      ... > Shell scripts are very powerful tools for UNIX development. ... Upon execution, the compiled binary will ... you don't need an interpreter. ...
      (comp.os.linux.security)