[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Re: [avr-gcc-list] Re: What Happened to the sbi() and
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros???? |
Date: |
Wed, 2 Feb 2005 19:09:11 +0100 |
User-agent: |
Mutt/1.4.2.1i |
As Ned Konz wrote:
> I just posted the sed script.
> I would have used awk but it has no -i command-line switch to allow
> in-place edits.
Uh, standard sed doesn't have it either.
The common logic is to use
sed -e ... < $file > ${file}.tmp && mv -f ${file}.tmp $file
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)