Am Montag 01 Juni 2009 06:30:16 schrieb Matthew Williams: > puts `cat #{$0}` The problem with that is that it won't work when the file name contains spaces or shell meta-characters. This will however: system"cat",$0