3 ms·
In other shells, the status of the pipeline is the exit status of the last process, so in this case that would be head which exits with 0.
by mprovost 1y ago
In other shells, the status of the pipeline is the exit status of the last process, so in this case that would be head which exits with 0.