Commit 1a42e0f9 authored by sewardj's avatar sewardj
Browse files

[project @ 2001-09-17 09:05:28 by sewardj]

Pick up PATH rather than TERM, since the latter ain't always set.

MERGE TO STABLE
parent bcac9f56
......@@ -4,8 +4,8 @@ import IO ( isDoesNotExistError )
main :: IO ()
main = do
term <- getEnv "TERM"
putStrLn "Got $TERM"
term <- getEnv "PATH"
putStrLn "Got $PATH"
fish <- getEnv "One fish, two fish, red fish, blue fish" `catch` getEnv_except
putStrLn fish
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment