Re: cat - > file.txt << EOF
- From: gazelle@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
- Date: Fri, 24 Nov 2006 17:43:56 +0000 (UTC)
In article <ek7443$6sb$1@xxxxxxxxxxxx>,
Antonio Maschio <tbin@xxxxxxxxx> wrote:
cat - > file.txt << EOF
writes all the following into file.txt until the string EOF is input.
But what if I wanted the same to be accomplished after two following
void lines (i.e. after two Returns)?
#!gawk
BEGIN { RS="" }
{ print;exit }
.
- References:
- cat - > file.txt << EOF
- From: Antonio Maschio
- cat - > file.txt << EOF
- Prev by Date: Re: need script advice
- Next by Date: Re: need script advice
- Previous by thread: cat - > file.txt << EOF
- Next by thread: Re: cat - > file.txt << EOF
- Index(es):
Relevant Pages
|