But how to reconcile this advice with the "unnecessary cat" zealots. Just let me live my life guys.
pv some.iso >/dev/sdb
Or if you don't care about progress bar, you can use cp: cp some.iso /dev/sdb < some.iso > /dev/sdb % cat > foo
fred
barney
wilma
betty
% < foo > bar
% cat bar
fred
barney
wilma
betty
% diff foo bar
%I just happened to explore this on an M1, so I had a shell that would do things this way.
Update: Back at the computer now, and I cannot replicate it with bash:
rascul@smarts:~/mm> cat > foo
fred
barney
wilma
betty
rascul@smarts:~/mm> < foo > bar
rascul@smarts:~/mm> cat bar
rascul@smarts:~/mm>
I'm curious what shell you did that with.The zsh way seems more properly fitting with the philosophy of the Unix shell to me. It would be an uphill battle getting everyone else to change that behavior, though.