[Techtalk] Bash functions with user-defined parameters

Dan Richter daniel.richter at wimba.com
Mon Apr 28 17:04:32 EST 2003

Sue's solution looks pretty good to me.

But be careful:
>  $num1 = $1

The "num1" should not be preceded by a dollar sign. I see that you already 
know this, Bernice, but I wanted to make sure it didn't slip by you because 
it's the kind of mistake that's easy to miss.

========== Dan Richter ============== mailto:Dan at wimba.com ===========
   We're seeing crazy uptime numbers now, like three months,
   six months. I fully expect we'll see a year of uptime when
   Windows Server 2003 is finished.
      - Jeff Stucky, Microsoft senior systems engineer
        (If only he knew what Linux uptimes were like.)

More information about the Techtalk mailing list