odd behaviour NFS + here documents