Re: Shell Games

From: Tom Huppi (thuppi_at_huppi.com)
Date: 12/31/04

  • Next message: Olivier Gautherot: "Re: Shell Games"
    Date: Fri, 31 Dec 2004 03:53:43 -0500 (EST)
    To: vijayendra gadgil <vijayendra.gadgil@gmail.com>
    
    

    On Fri, 31 Dec 2004, vijayendra gadgil wrote:

    > On Fri, 31 Dec 2004 00:30:16 -0500 (EST), Tom Huppi <thuppi@huppi.com> wrote:

    <snip>

    > > FWIW, I've always used 'tcsh' interactively, but almost switched a
    > > while back out of disgust at not being able to figure out how to
    > > get a one-line foreach/{do_something}/end loop (which would allow
    > > me to re-run a complex command easily.)
    >
    > I would recommend 'ksh' it does the tasks of both 'csh' and 'sh' with
    > advanced programming features, check out http://www.kornshell.com/

    As it happens, my attempts to do this one-liner with 'tcsh' were a
    direct result of watching someone who used 'ksh'. I thought it
    probable that 'bash' also could accomplish this feat (and maybe
    'tcsh' also if I could figure it out.) Anyone know?

    IIRC, I solved the immediate issue with either find/-exec, or a
    ubiquitous and simple utility called 'checksed' (and it's friends.)
    After that, I ran out of incentive to change shells :)

    This being the newbies list, I should like to mention that I've
    found both 'find' and 'checksed/runsed' to be really useful over
    the years. They are two things that I have been happy to have
    spend the effort necessary to learn what they are and their basic
    usage.

    Thanks,

     - Tom
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Olivier Gautherot: "Re: Shell Games"

    Relevant Pages