|*qƜ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~KReplaces every occurance of the given regexp with the replacement string. C Modification of the subRegex function from regex-posix package. Search pattern  Input string Replacement text  Occurrence  non-portable experimentalvirukav@gmail.com1%Flags used in the substitute command MThe allowed sequence of the Occurrence and OutputPat flags in the substitute  function HThe flag to control the pattern space output in the substitute function .Used in the replacement string. An appersand (&) will be replaced by the * string matched the BRE. The characters n, where n is a digit will be < replaced by the corresponding back-reference expression. DA permissable address is representing by zero, one or two addresses ZAn address is either a decimal number that counts input lines cumulatively across files,  a O character that addresses the last line of input, or a context address as BRE 5Functions represents a single-character command verb  ignore spaces ( - ignore a line in the script except \"n" in the first line 9: - label a line in the scipt for transfering by b or t. 4y - transform each char by position in Text to Text +x - exchange pattern space with hold space 5w - write the line to file if a replacement was done >t - branch to line marked by :label if substitution was made 's - substitute Replacement for Pattern .r - add contents of file to the pattern space $q - quit when address is encounterd 8P - print (up to newline) of multiline pattern space ! p - print the addressed line(s) "7N - add next input line and newline into pattern space #/n - read next line of input into pattern space $@l - list the pattern space, showing non-printing chars in ASCII %5i - insert Text before each line matched by address &>H - add newline followed by pattern space into the hold space ''h - copy pattern space into hold space (>G - add newline followed by hold space into the pattern space )+g - copy hold space into the pattern space *6D - delete (up to newline) of multiline pattern space +&d - delete line(s) from pattern space ,8c - replace the lines selected by the address with Text -b - transfer control to Label .8a - append text following each line matched by address /5= - write to standard output the current line number 0{ - group of the sed commands 1Editing commands 21  !"#$%&'()*+,-./0121120/.-,+*)('&%$#"!    1  0/.-,+*)('&%$#"!  !"#$%&'()*+,-./0122 non-portable experimentalvirukav@gmail.com345<If an RE is empty last RE used in the last command applied 6789:;<=>?@AB;3456789:;<=>?@AB5674389:;<=>?@AB345676789:;<=>?@AB non-portable experimentalvirukav@gmail.com#CDEParsed Sed commands FSuppress the default output GThe last line index HThe current line index I+Is pattern space matches the address range J(The buffer to keep the selected line(s) K+The buffer to keep the line(s) temporarily L$The buffer to keep the append lines MStore the output in the memory N6If True the Sed output is stored in the memory buffer OExit the stream editor P!Write (w command) files handles Q$The result of the last substitution RCurrent input file handle STUVWXYZ[\]^_`abcde#CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde#CDEFGHIJKLMNOPQRa`_^]\[ZYXWVUTSbcde#CDEFGHIJKLMNOPQRDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde non-portable experimentalvirukav@gmail.com3fgQuit hDJump to the marked sed command and apply it to the pattern space i4Reapply the sed script to the current pattern space j>Read the new line to the pattern space and apply sed script k@Apply the next sed command from the script to the pattern space lmnop#Compile and execute the sed script qParse the Sed commands r3Execute the parsed Sed commands against input data sProcess the input text files t*Process the next input line from the file uExecute sed script v6Transfer control to the command marked with the label wRead an input line x3Execute the Sed function if the address is matched y+Check if the address interval is matched zExecute the Sed function {'{cmd...}', Groups subcommands enclosed in {} (braces) |'='= Writes the current line number to standard output as a line } 'a\\ntext'4 Places the text variable in output before reading  the next input line ~'b label'0 Transfer control to :label elsewhere in script  'c\\ntext'* Replace the lines with the text variable d# Delete line(s) from pattern space DG Delete first part (up to embedded newline) of multiline pattern space g4 Copy contents of hold space into the pattern space G4 Append newline followed by contents of hold space # to contents of the pattern space. h$ Copy pattern space into hold space H; Append newline and contents of pattern space to contents  of the hold space  'i\\ntext'5 Writes the text variable to standard output before / reading the next line into the pattern space. 't label'9 Jump to line if successful substitutions have been made 'spattern replacement/[flags]'$ Substitute replacement for pattern n. Read next line of input into pattern space. l2 List the contents of the pattern space, showing ' nonprinting characters as ASCII codes x2 Exchange contents of the pattern space with the  contents of the hold space N5 Append next input line to contents of pattern space p Print the lines P/ Print first part (up to embedded newline) of  multiline pattern space q Quit  'y/abc/xyz'5 Transform each character by position in string abc ! to its equivalent in string xyz 'w file'* Append contents of pattern space to file r= Read contents of file and append after the contents of the  pattern space &Skip label, comment and empty command /Print the pattern space to the standard output @Check if the current line in the pattern space is the last line QWrites the string to the standard output or save the string in the memory buffer 1The same as prnStr, but adds a newline character !The same as prnStr, but for char 0Print the character as three-digit octal number 6fghijklmnopqrstuvwxyz{|}~3olnmfkjihgpqrstuvwxyz{|}~3fkjihgghijklnmmnopqrstuvwxyz{|}~ non-portable experimentalvirukav@gmail.com<Execute the sed script and print the output to ByteString.  Example. Suppose the ..tests$Transform.in file contains the line ' Hello world!'.  execScript ["..tests Transform.in"] "yabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/"  will produce ' HELLO WORLD!' bytestring. 7Execute the sed script and print the result to stdout         !"#$%&'()*+,-./012344567789:;<=>?@ABCDDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~}|~{ Hsed-0.2.2 Hsed.SedRegexHsed.Ast Hsed.Parsec Hsed.SedState Hsed.StreamEdHsed.SedPattern sedSubRegexLabelTextInvert ReplacementFlagsOccurrencePrintPrintOccurrence OutputPat Occurrence ReplaceAllReplaceAddressAddrPatLastLine LineNumberSedFunEmptyCmdComment TransformExchange WriteFileTest SubstituteReadFileQuit WriteUpPatPrintPat AppendLinePatNextLineListInsert AppendHold ReplaceHold AppendPat ReplacePat DeletePat DeleteLineChangeBranchAppendLineNumGroupSedCmdStream SedParser ParserStatelastREparseSedparseREaddresssedCmdssedCmdsedFunbareFuntextFunfileFunargFungotoFunEnvast_ defOutput_ lastLine_curLine_inRange_ patternSpace_ holdSpace_ appendSpace_ memorySpace_ useMemSpace_exit_fileout_subst_curFile_SedStateast defOutputlastLinecurLineinRange patternSpace holdSpace appendSpace memorySpace useMemSpaceexitfileoutsubstcurFileinitEnvsetgetmodify FlowControlExitGotoContinueBreakNextStatusContEOF SedEnginerunSedcompileexecute processFilesnextLineexecCmdsjumplineexecCmd matchAddressrunCmdgrouplineNumappendbranchchange deleteLine deletePat replacePat appendPat replaceHold appendHoldinserttest substitutenextlistexchange appendLinePatprintPat writeUpPatquit transformwriteFreadF printPatSpace isLastLineprnStrprnStrLnprnChar prnPrintf SedScript execScript execScript_matchREbaseGHC.Base$ emptyStateeoleoleofslashcommasemi backslashnumberinvertpatternaddraddr1addr2 functionsreadFile writeFilelabeldeletecommentflagsunescemptyCmd