On Tue, Dec 5, 2023, 17:22 Chet Ramey <chet.ra...@case.edu> wrote: > On 11/30/23 3:45 AM, gldrk wrote: > > $ cat test > > alias 'foo=cat <<EOF > > hello' > > foo > > world > > EOF > > $ sh test > > world > > test: line 5: hello: command not found > > > > My reading of the upcoming POSIX revision > > (https://www.austingroupbugs.net/view.php?id=953#c4214) > > is that they should be treated just like newline tokens coming from the > > source. > > Thanks for the report. Reading here-documents from aliases is a known > issue. There will be an initial fix in the next devel branch push. >
i hope u rather extend than limit , the aliases stuff Chet > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/ > >