Using ghc-5.03, getArgs only returns the first command line argument. main = do putStrLn version args <- getArgs putStrLn (show args) ... Best wishes Greg Michaelson pp Phil Trinder