ELF> @@Pk@8 @%"@@@@@88@8@@@Sfk!c[5Kb`D`b`b`__gmon_start__libc.so.6fflushstrcpy__printf_chk_IO_putcfopenoptindtempnamregexecstrncpyregfree__stack_chk_failputcharfgetcfgetscallocstrlenstrstrstdoutfputcfputsregerrorfcloseremoveregcompoptarggetopt_long__ctype_tolower_loc__libc_start_mainGLIBC_2.3GLIBC_2.4GLIBC_2.3.4GLIBC_2.2.5ii ii ti $ui 0_``b`b`b````````` ``(``0``8`` @`` H`` P`` X`` ```h``p``x````````````````````````H$H5T %T @%T h%T h%T h%T h%T h%zT h%rT h%jT hp%bT h`%ZT h P%RT h @%JT h 0%BT h %:T h %2T h%*T h%"T h%T h%T h% T h%T h%S h%S h%S hp%S h`%S hP%S h@1I^HHPTI0/@H@/@HP@_HHR HtHÐUHSH=(U uK0^`H"U H-(^`HHXH9s%HBHT (^`HT H9rT H[fff.UH=_P HtHt8^`IA@Ð1ffff.1ffff.1HStK@VHHk1H[ÐS~BGT u [fHHHNT [fDT 뼐HtUHHtM@H@H@H@H@8H@@H@ H@(H@0@Ht'HHGHGHGHG fU1SHHHt_11H{8t 1H{@1H{1H{@Ņt8 tJ80@tA1=0@!H[]f. ӅH[!]fD20@븐0@n3kffffff.HHb`"Hffff.USHHH+H{Ht yHCH{Ht cHCH{Ht MHCH{8Ht 7HC8H{@Ht !HC@H{ Ht HC H{0Ht HC0Htj0@RH[]fDV0@6*fHxIregular_HSoftwareH IndustrHy & GeneHral HardL$PH$ H|$@dH%(H$h1H$(H$03@H$8DŽ$Xsub;DŽ$@wareƄ$DHD$0D$02009D$4H$PHHD$H$ H$HD$0@HD$&2@HD$ HD$(0@0@2fG1)HT$0@1HT$0@1HT$0@1HT$ 0@10@0@1 0@`K@2@1HT$@10@H$hdH3%(uHxDKH\$Ld$Ll$H(b`HdH%(H$1HxIľjLI~HT$H|$<H|$8IHtHHD$@LHp H|$XoHD$ 0@H|$@HH%H|$ HHD$X0@HD:Hى¾(E@1HT$8*mLd$ D$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HD$0L@HD$8M@HD$@8M@HD$HM@HD$PM@HD$XN@HD$``N@HD$hN@HD$pN@HD$xO@HDŽ$K@H,HHxHHt HHgHHĘ[]fH @ t@ t@ fUHSHHHuH[]Htn11~HcE1Hf< t< t< tȉMH[]DH9ՉHl$Ld$HLl$H\$ILt$L|$HHHIu0H\$Hl$ Ld$(Ll$0Lt$8L|$@HHHtHtL|$HLALD$A9~HcHD$I<] ==> ( ( ( -u | --batch ) ) | ( -i | --ignoreCase ) | ( (-s | --regex) ( -t | --string ) ) ) ( --stdin | ( -f | --input ) ) [ ( -o | --output ) ] ==> ==> ==> ==> ==> regular_sub reads the file specified by (or stdin if --stdin is specified instead of -f) and looks for a match to . If a match is found regular_sub substitutes in place of the expression and continues the search (the substitution is global). regular_sub replaces all occurances of with that happen within a line and all occurances within all lines in a file. Options Notes: -u | --batch : process the specified file one line at a time. The specified file contains -s -t pairs. Each specified is replaced by a specified . Once the entire file is processed it is reopened and scanned again with the next -s -t pair until the batch file EOF is reached. This processing is is done in a temporary file in /tmp so the original source file is not affected. All processing by regular_sub is done as if the file was a text file. -i | --ignoreCase : ignore case in regular expression compilations -s | --regex : a regular-expression to be matched in the file specified by the -f option. -t | --string : a string substituted for the regular expression specified by the -s option. --stdin : use stdin as the input stream. If you cancel out of the input stream regular_sub will quit without output. -f | --input : a unix specified file name (absolute or relative, hard or soft link) within which the search for the regular-expression is done. -o | --output : For convienience a way to specify a file name to save the final output. Leave this option off to specify output to stdout. Output: A duplicate stream is created on stdout except that is substituted for . If no match for is found a duplication of the input stream is created. If an is specified the final output stream is written to that file if possible. If the write fails the output is written to stdout. Notes: can contain the following escaped characters: \a 0x07 \b 0x08 \f 0x0c \l 0x0a \n 0x0a (see note below) \r 0x0d \t 0x09 \v 0x0b \e 0x1b \^ thru Newline Note: *nix platforms tend to use linefeed as the new line character. Microslime's Windoze uses (0x0d 0x0a). The author really doesn't care what Microslime uses. \n will parse to linefeed. Control Character Note: The control character is generated by transforming the character immediately following the \^ to lower case, casting the unsigned byte to an integer 8-bits and finding the ordinal offset from the integer value for 'a' plus 1. This should result in the equivalent ASCII Control Character values of 01..26. Unicode values: Haven't decided how I want to do this yet. Why regular_sub: Have you tried doing a straight forward substitute? either the substitution string can't use escaped characters or you have to jump through some bizzare hoop writing boucoup script lines or worse: perl or even worse python or was that: p y t h o n OH NO IT ISN'T EVENLY SPACED SOMEWHERE! Unable to obtain buffers necessary to process output filesRead %d bytes; success is %sNULL Found a match starting at %d and ending at %d (option --help with no optional argument suppliedoption --help with optional argument %s option -s specified without a option -t specified without a option -o specified without an option -f specified without a file name.option -u specified without a |@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@P @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@P @@@@@@@@@@@@@@@@@@@@ @@1.0.02@2@NO ERROR FOUNDBatch file is completedUnknown ErrorNot enough memory was available to create the temporary files needed by regular_subTemporary files could not be created (check privleges on /tmp)Invalid REGULAR EXPRESSION foundCould not create temporary output file (check privleges on /tmp)Could not create temporary input file (chaeck privleges on /tmp)No output file specified (no place to put the output)Could not get enough memory for the internal CLI options structure used by regular_subCould not get enough memory for the internal Open Files structure used by regular_subNo substitution string specifiedCould not get enough memory for the internal buffers used by regular_subFailed to remove the previous temporary input file while batchingNo batch file found while batchingregular_sub failed to clean up the file name structure (memory_leaks)regular_sub fialed to clean up the CLI options structure (memory_leaks);(@XPpP0 hp8X0 8`XzRx @4@L @'FdP@UD|@\@.@@ACG @#D0@AFD 0@G%@[4<@BBB B(A0A8Jt@ADG P@AIG @@ADG @@rAIG 4 p@BBB E(A0A8D@D@\ADD ,d`@BBB D(C0DP#@~D4#@BBB B(D0A8I$P&@BBI A(Lp ,@ACG, -@)DP-@oADG $d-@mJ^PzRx 0$4(Jf@ 0 @ 0@x@oH@x@x@ < _`@H@` o@oo@@^`^ @n @~ @ @ @ @ @ @ @ @ @ @ @. @> @N @^ @n @~ @ @ @ @ @ @ @ @ @2@v2@b2@t2@i2@s2@u2@h2@f2@-2@oGCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3, @*L< @0 @ 0@<nC @0@!jo_IO_stdin_usedf @: @../sysdeps/x86_64/elf/start.S/build/buildd/glibc-2.9/csuGNU AS 2.19.1j< @< @aSqU:inta\D 0@Wu_/build/buildd/glibc-2.9/build-tree/amd64-libc/csu/crti.S/build/buildd/glibc-2.9/csuGNU AS 2.19.1uq!P/build/buildd/glibc-2.9/build-tree/amd64-libc/csu/crtn.S/build/buildd/glibc-2.9/csuGNU AS 2.19.1%% $ > $ > $ > 4: ; I?  &IU%U%]4 ../sysdeps/x86_64/elfstart.S  @.>!>L$ uvx[# init.cO /build/buildd/glibc-2.9/build-tree/amd64-libc/csucrti.S < @ Ku=/0K 0 @K 0@${O /build/buildd/glibc-2.9/build-tree/amd64-libc/csucrtn.S C @K 0@Klong unsigned intGNU C 4.3.3/build/buildd/glibc-2.9/csushort int_IO_stdin_usedunsigned charlong intinit.cshort unsigned int< @S @0 @9 @0@ 0@C @H @0@0@.symtab.strtab.shstrtab.interp.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.ctors.dtors.jcr.dynamic.got.got.plt.data.bss.comment.debug_aranges.debug_pubnames.debug_info.debug_abbrev.debug_line.debug_str.debug_ranges8@8#T@T 5x@x1oH@H0; x@xCx@x<Ko@@Xo@PgH@H`q@ {0 @0 vH @H  @ "0@00@0H`O@`OXP@XP^`^(^`(^8^`8^@^`@^_`__`_``` `b``b `bcd% df$?g00h;pijIt $@ 8@T@x@H@x@x@@@ H@ @ 0 @ H @  @0@0@`O@XP@^`(^`8^`@^`_`_````b` ! < @#.^`<(^`J8^`W ` @mb`|b` @# ^`8T@8^` /@b`hK@ pK@a``+BS_`i^`z^`@^` `` @ -@m @# 0/@  @ #@~  @' 3E #@[u0@{ @`K@ `@&90@H[m`b``` p@ @@ @r -@) @\0``=P0^`] P@v @/@b` @@ P&@`b` @ ,@/ @? 0@Th @}c` @. 0@ @4`b`;b`@? P-@oQb`e{ @\ P@U 0 @init.cinitfini.ccall_gmon_startcrtstuff.c__CTOR_LIST____DTOR_LIST____JCR_LIST____do_global_dtors_auxcompleted.6997dtor_idx.6999frame_dummy__CTOR_END____FRAME_END____JCR_END____do_global_ctors_auxFileInfo.cmain.cretStatusregularsub.cTEMPFILE_PREFIXTEMPFILE_DIRlong_options.3789regularsubErrorEnums.ctokenUtilities.c_GLOBAL_OFFSET_TABLE___init_array_end__init_array_start_DYNAMICdata_startopenFilefindTokenForvalidRegularExpression__libc_csu_fini_startmakeNewCliOptionsStruct__gmon_start__fileExistsForInput_Jv_RegisterClassesputs@@GLIBC_2.2.5getNextRegExAndString__printf_chk@@GLIBC_2.3.4_finiputchar@@GLIBC_2.2.5fopen@@GLIBC_2.2.5showRegularExpressionCompilerError__libc_start_main@@GLIBC_2.2.5regexec@@GLIBC_2.3.4__REGULAR_SUB_VERSION__processCliArgumentsfgets@@GLIBC_2.2.5_IO_stdin_usedfputc@@GLIBC_2.2.5free@@GLIBC_2.2.5strlen@@GLIBC_2.2.5optind@@GLIBC_2.2.5__data_starttranslateStringfgetc@@GLIBC_2.2.5createTempFileregerror@@GLIBC_2.2.5writeOutputFileisWhiteSpacestrstr@@GLIBC_2.2.5initCliOptionsStruct__dso_handlefputs@@GLIBC_2.2.5__DTOR_END__swapInputFileForTempFile__libc_csu_initoptarg@@GLIBC_2.2.5regcomp@@GLIBC_2.2.5getopt_long@@GLIBC_2.2.5validOptionsdoRegularSub__bss_startfileSizeFromName__stack_chk_fail@@GLIBC_2.4showErrorRegularSubfileSizeFromFIBdestroyCliOptsStructstrcpy@@GLIBC_2.2.5processTempFileUsingregfree@@GLIBC_2.2.5__ctype_tolower_loc@@GLIBC_2.3calloc@@GLIBC_2.2.5_endfclose@@GLIBC_2.2.5remove@@GLIBC_2.2.5initOpenFilesstrncpy@@GLIBC_2.2.5usagecleanUpAndCloseOpenFiles_edataregsqueezeWhiteSpacestdout@@GLIBC_2.2.5_IO_putc@@GLIBC_2.2.5lineIsCommentmain_initfflush@@GLIBC_2.2.5tempnam@@GLIBC_2.2.5