Re: Shell script help

From: Parv (parv_at_pair.com)
Date: 07/31/05

  • Next message: Glenn Dawson: "Re: Using a hard drive without partitions"
    Date: Sat, 30 Jul 2005 20:21:23 -0400
    To: Paul Schmehl <pauls@utdallas.edu>
    
    

    in message <6F3E35504F64CB7D16926AA4@Paul-Schmehls-Computer.local>,
    wrote Paul Schmehl thusly...
    >
    > --On July 30, 2005 2:57:57 AM -0400 Parv <parv@pair.com> wrote:
    >
    > >in message <E9E44D6085C02C80E233D138@Paul-Schmehls-Computer.local>,
    > >wrote Paul Schmehl thusly...
    ...
    > >>@${SED} -e '/man\.macros/r man.macros' -e '/man\.macros/d'
    > >>${WRKSRC}/doc/${f} \
    > >> > ${WRKDIR}/${f}
    ...
    > >In the 1st part, sed sends the output of file 'man.macros' to
    > >standard out if it exists (otherwise no worries) when sed sees
    > >the 'man\.macros' pattern.
    > >
    > >And the 2d part, just deletes that pattern.
    ...
    > Thanks! That was the answer. I had to fiddle with it for a while
    > before I understood what it was doing, but it does exactly what I
    > need it to do now.

    Your welcome; i apologize if my reply was cryptic.

    But then i was working direclty from the man page as my sed-fu is ok
    but not great. (:

      - Parv

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

  • Next message: Glenn Dawson: "Re: Using a hard drive without partitions"

    Relevant Pages

    • Re: Shell scripting question
      ... Paul Schmehl schrieb: ... > echo $ ... > I would have thought that 0,0 would return only the first character and ... To unsubscribe, ...
      (freebsd-questions)
    • Re: I cant install netperf
      ... Em 09/06/2005, ās 17:21, Paul Schmehl escreveu: ... > Seems like you should resolve this problem first, ... > enable IPV6 on this box? ... To unsubscribe, ...
      (freebsd-questions)
    • Re: ports, mailman and mail-gid
      ... Paul Schmehl wrote: ... but I'm having zero success. ... Michael D. Whities ... To unsubscribe, ...
      (freebsd-questions)
    • Re: I cant install netperf
      ... Em 09/06/2005, ās 19:54, Paul Schmehl escreveu: ... >> Now i get the network ok and ports working, ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Error after installing cyrus-sasl2-saslauthd
      ... This popped up on console as soon as port was ... finished installing. ... Paul Schmehl wrote: ... To unsubscribe, ...
      (freebsd-questions)