/dev/null guaranteed to return an end-of-file character so it will do exactly the same thing. The nice thing about d3funct's suggestion is that functionally it's exacly the same but doesn't start a 'cat' process and is much easier to type. I used to use:
cat > some_file <<!
!
but I won't now. <grin> I love it when someone comes up with something nice and simple like that; childish of me I know, but there you go.
Mike
michael.j.lacey@ntlworld.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.