You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
λ cat sortme
XX
bb
cc
aa
bb
cc
xX
cc
xx
λ cat sortme | sort
aa
bb
bb
cc
cc
cc
xx
xX
XX
λ cat sortme | sort -u
-uThe operation completed successfully.
cat: write error: No space left on device
λ cat sortme | uniq
XX
bb
cc
aa
bb
cc
xX
cc
xx
λ cat sortme | sort | uniq
aa
bb
cc
xx
xX
XX
Just to show there is really space left on device :) sort in Cmder is being silly.
λ df -h | head -1 && df -h | tail -1
Filesystem Size Used Avail Use% Mounted on
N:/Users/Username/Downloads/cmder/vendor/git-for-windows 932G 294G 638G 32% /
The text was updated successfully, but these errors were encountered:
hblock terminates at the "Sort entries" command using Cmder on Windows (10).
Of course, nothing actually completed successfully. (See below for sort behavoir.)
On line 217, changing
| sort -u
to| sort | uniq
allows hblock to actually complete successfully. :)Making the same edit on a Linux VM (CentOS-7.2.1511) showed identical write and sort behavior between
| sort -u
and| sort | uniq
.Comparing the output files of each with
diff
only shows a difference in commented time stamps.xD
.
edit
Sort as provided by Cmder is a Windows command, hence the incompatibility.
https://technet.microsoft.com/en-us/library/bb491004.aspx
Just to show there is really space left on device :) sort in Cmder is being silly.
The text was updated successfully, but these errors were encountered: