Angel Tsankov wrote:
> exit
> END FILE
>
> Then simply call:
> echo build-package-name.txt | su
What will happen if I do not append an 'exit' at the end of the file?
Then it will get stuck I think and you will have to hit C-c to get out of
it.
No, it does not. I tried with and without 'exit' and I get the same result,
at least "visually", i.e. I did not chech if some process is left waiting
or anything like this.
That's not surprising.
Non-interactive shell should terminate when it encounters EOF on input
stream.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page