[linux-cifs-client] DFS works

Rob Shinn rob.shinn at gmail.com
Thu May 22 00:55:01 GMT 2008


Jeff Layton wrote:
> getent hosts <host> | head -1 | cut -d' ' -f1
>
> Thoughts?
>   
Minor nitpick, but 'head -n1' would be the POSIXly-correct  way to do
that. The head -N syntax, despite being widely used, isn't POSIX-compliant.





More information about the linux-cifs-client mailing list