Modify toArgs to parse quotes/escapes like /bin/sh Addresses ticket #197, which asks for escape sequences to be supported directly (i.e. not only in dquoted strings) on :load commands in GHCI.  Fix modifies the toArgs function to parse its input like /bin/sh does, i.e. recognizing escapes anywhere and treating quoted strings as atomic chunks.  Thus:   :load a\ b c\"d e" "f would parse with three arguments, namely 'a b', 'c"d', and 'e f'.
Modify toArgs to parse quotes/escapes like /bin/sh
Addresses ticket #197, which asks for escape sequences to be supported directly (i.e.
not only in dquoted strings) on :load commands in GHCI.  Fix modifies the toArgs
function to parse its input like /bin/sh does, i.e. recognizing escapes anywhere
and treating quoted strings as atomic chunks.  Thus:
  :load a\ b c\"d e" "f
would parse with three arguments, namely 'a b', 'c"d', and 'e f'.

toArgs is used to parse arguments for both :load and :main, but doesn't appear to
be used elsewhere.  I see no harm in modifying both to be consistent -- in fact,
the functionality is probably more useful for :main than for :load.

nkaretnikov/ghc,wxwxwwxxx/ghc,fmthoma/ghc,bitemyapp/ghc,ezyang/ghc,olsner/ghc,urbanslug/ghc,christiaanb/ghc,ghc-android/ghc,sgillespie/ghc,urbanslug/ghc,vTurbine/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,frantisekfarka/ghc-dsi,snoyberg/ghc,mfine/ghc,vikraman/ghc,lukexi/ghc-7.8-arm64,sgillespie/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,sgillespie/ghc,gcampax/ghc,gridaphobe/ghc,sgillespie/ghc,AlexanderPankiv/ghc,ghc-android/ghc,lukexi/ghc-7.8-arm64,ekmett/ghc,sgillespie/ghc,mettekou/ghc,tjakway/ghcjvm,urbanslug/ghc,siddhanathan/ghc,mfine/ghc,tibbe/ghc,sgillespie/ghc,nathyong/microghc-ghc,sdiehl/ghc,lukexi/ghc,acowley/ghc,acowley/ghc,gcampax/ghc,ezyang/ghc,elieux/ghc,oldmanmike/ghc,mfine/ghc,nomeata/ghc,spacekitteh/smcghc,lukexi/ghc,ekmett/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,frantisekfarka/ghc-dsi,ml9951/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,jstolarek/ghc,mettekou/ghc,ekmett/ghc,fmthoma/ghc,vTurbine/ghc,nkaretnikov/ghc,tibbe/ghc,tibbe/ghc,gcampax/ghc,AlexanderPankiv/ghc,vTurbine/ghc,snoyberg/ghc,nomeata/ghc,nushio3/ghc,ryantm/ghc,holzensp/ghc,ezyang/ghc,christiaanb/ghc,nushio3/ghc,TomMD/ghc,mettekou/ghc,urbanslug/ghc,mcmaniac/ghc,TomMD/ghc,anton-dessiatov/ghc,oldmanmike/ghc,elieux/ghc,olsner/ghc,nomeata/ghc,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,shlevy/ghc,nushio3/ghc,ekmett/ghc,ml9951/ghc,mettekou/ghc,siddhanathan/ghc,gridaphobe/ghc,shlevy/ghc,ezyang/ghc,nathyong/microghc-ghc,snoyberg/ghc,AlexanderPankiv/ghc,shlevy/ghc,mcschroeder/ghc,hferreiro/replay,shlevy/ghc,vikraman/ghc,elieux/ghc,spacekitteh/smcghc,snoyberg/ghc,ilyasergey/GHC-XAppFix,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,olsner/ghc,green-haskell/ghc,sdiehl/ghc,urbanslug/ghc,AlexanderPankiv/ghc,acowley/ghc,nushio3/ghc,ryantm/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,da-x/ghc,fmthoma/ghc,mettekou/ghc,olsner/ghc,ml9951/ghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,ghc-android/ghc,gridaphobe/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,da-x/ghc,acowley/ghc,christiaanb/ghc,gridaphobe/ghc,ghc-android/ghc,mcmaniac/ghc,oldmanmike/ghc,siddhanathan/ghc,mcschroeder/ghc,mfine/ghc,green-haskell/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,gcampax/ghc,vTurbine/ghc,nkaretnikov/ghc,da-x/ghc,elieux/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,green-haskell/ghc,ml9951/ghc,elieux/ghc,snoyberg/ghc,tibbe/ghc,jstolarek/ghc,ghc-android/ghc,snoyberg/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,siddhanathan/ghc,TomMD/ghc,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,holzensp/ghc,lukexi/ghc,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,fmthoma/ghc,holzensp/ghc,ml9951/ghc,bitemyapp/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,gridaphobe/ghc,sdiehl/ghc,mcschroeder/ghc,ml9951/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,mfine/ghc,GaloisInc/halvm-ghc,nushio3/ghc,nushio3/ghc,christiaanb/ghc,bitemyapp/ghc,fmthoma/ghc,sdiehl/ghc,gcampax/ghc,frantisekfarka/ghc-dsi,mcschroeder/ghc,lukexi/ghc,ghc-android/ghc,ilyasergey/GHC-XAppFix,mcschroeder/ghc,bitemyapp/ghc,da-x/ghc,mfine/ghc,fmthoma/ghc,tjakway/ghcjvm,da-x/ghc,vikraman/ghc,ryantm/ghc,spacekitteh/smcghc,hferreiro/replay,TomMD/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,olsner/ghc,ml9951/ghc,hferreiro/replay,nathyong/microghc-ghc,TomMD/ghc,nathyong/microghc-ghc,nomeata/ghc,acowley/ghc,mcmaniac/ghc,green-haskell/ghc,gridaphobe/ghc,nkaretnikov/ghc,vTurbine/ghc,sgillespie/ghc,ezyang/ghc,tjakway/ghcjvm,olsner/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,spacekitteh/smcghc,tjakway/ghcjvm,hferreiro/replay,olsner/ghc,ml9951/ghc,jstolarek/ghc,oldmanmike/ghc,siddhanathan/ghc,da-x/ghc,nathyong/microghc-ghc,TomMD/ghc,mcschroeder/ghc,christiaanb/ghc,urbanslug/ghc,lukexi/ghc-7.8-arm64,AlexanderPankiv/ghc,nomeata/ghc,acowley/ghc,hferreiro/replay,oldmanmike/ghc,shlevy/ghc,christiaanb/ghc,green-haskell/ghc,lukexi/ghc,vTurbine/ghc,mfine/ghc,da-x/ghc,tjakway/ghcjvm,gcampax/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,vikraman/ghc,shlevy/ghc,mettekou/ghc,holzensp/ghc,nkaretnikov/ghc,ilyasergey/GHC-XAppFix,elieux/ghc,vikraman/ghc,sdiehl/ghc,hferreiro/replay,mettekou/ghc,gcampax/ghc,mcmaniac/ghc,jstolarek/ghc,elieux/ghc,wxwxwwxxx/ghc,spacekitteh/smcghc,shlevy/ghc,oldmanmike/ghc,tjakway/ghcjvm,ezyang/ghc,tibbe/ghc,anton-dessiatov/ghc,hferreiro/replay,ryantm/ghc,ezyang/ghc,gridaphobe/ghc,ryantm/ghc,mcmaniac/ghc,oldmanmike/ghc,ilyasergey/GHC-XAppFix,sdiehl/ghc,ekmett/ghc,bitemyapp/ghc,urbanslug/ghc,tjakway/ghcjvm,holzensp/ghc,siddhanathan/ghc,jstolarek/ghc,snoyberg/ghc,vTurbine/ghc