[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: what's the use case of an eof-string?
From: |
Thomas Sattler |
Subject: |
Re: what's the use case of an eof-string? |
Date: |
Thu, 15 Mar 2012 22:04:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
>> eof-strings are only mentioned in the OPTIONS part,
>> but there aren't any examples for this. Could some-
>> body please give a real-live usecase for it?
>
> I cannot. But the reason why the options exists is
> because of xargs compatibility.
OK, so let's forget about the "real-life" aspect. Is it
correct, that the eof-thing exists, to stop processing
in the middle of an input file, if the magic eof-string
appears?
Something like this:
---8<--------------------------------------
1 2 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9 0
3 4 5 6 7 8 9 0 1
4 4 5 5 6 6 6 7 7
EOF
a comment
more comments
-------------------------------------->8---
Thomas