четвер, 27 грудня 2012 р.

Линуксы это такой набор разноцветного несовместимого даже между собой говна


levsha@db01:~$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l

levsha@db01:~$ bash -c 'echo "before"; shift ; echo "after"'
before
after
levsha@db01:~$ dash -c 'echo "before"; shift ; echo "after"'
before
dash: 1: shift: can't shift that many
levsha@db01:~$ sh -c 'echo "before"; shift ; echo "after"'
before
sh: 1: shift: can't shift that many
levsha@db01:~$