День добрый, может кто ответит на вопрос:
asm@localhost dir % zsh
asm@localhost dir % sort --version
sort (GNU coreutils) 8.20
Packaged by Gentoo (8.20 (p1.0))
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
asm@localhost dir % ls | sort
02_testifle.txt
a_testfile.txt
b_testfile.txt
z_testfile.txt
01_testfile.txt
asm@localhost dir % bash
asm@localhost ~/dir $ sort --version
sort (GNU coreutils) 8.20
Packaged by Gentoo (8.20 (p1.0))
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
asm@localhost ~/dir $ ls | sort
01_testfile.txt
02_testifle.txt
a_testfile.txt
b_testfile.txt
z_testfile.txt
Почему одна и та же утилита работает по разному в bash и zsh?