По забывчивости, оставил в файле вот такой код, crash.sh:
#!/bin/bash
YASM=yasm
%YASM% --version
$ ./crash.sh
Ошибка сегментирования
$ bash --version
GNU bash, версия 4.2.10(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Это свободное программное обеспечение; Вы можете бесплатно изменять и распространять его.
There is NO WARRANTY, to the extent permitted by law.
$ yasm --version
yasm 1.1.0.2352
Compiled on Jun 10 2011.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.