<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/avasattva/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/avasattva/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 11 Sep 2017 10:42:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/avasattva/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by lqm678</title><link>https://sourceforge.net/p/avasattva/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,8 +1,9 @@
 ### Liberate &amp;amp; Digitize daily works by 2 exe : Data Mining; Map-Reduce; Pipe Endless.
-#### Match/Search/Replace: msr.exe/msr.cygwin/msr.gcc**
+Most time **Just 1 command line** to solve your daily text processing work.
+#### **M**atch/**S**earch/**R**eplace: `msr.exe`/`msr-Win32.exe`/`msr.cygwin`/`msr.gcc**`/`msr-i386.gcc**`
 - **Match/Search/Replace/Execute/*** Files/Pipe Lines/Blocks.
 - **Filter/Load/Extract/Transform/Stats/*** Files/Pipe Lines/Blocks.
-#### Not-IN-latter: nin.exe/nin.cygwin/nin.gcc**
+#### **N**ot-**IN**-latter: `nin.exe`/`nin-Win32.exe`/`nin.cygwin`/`nin.gcc**`/`nin-i386.gcc**`
 - Get **Exclusive/Mutual** Line-Set or Key-Set;
 - **Remove** Line-Set or Key-Set matched in latter file/pipe;
 - Get **Unique/Mutual/Distribution/Stats/*** Files/Pipe Line-Set or Key-Set.
@@ -20,7 +21,8 @@
 * Helpful scripts use **msr.exe** and **nin.exe** : https://github.com/qualiu/msrTools , and also *.bat files in [tools](https://github.com/qualiu/msr/tree/master/tools)

 ### Almost no learning cost:
-* Using general Regex in **C++, C#, Java, Scala**, needless to learn strange Regex syntax like FINDSTR, Awk and Sed, etc.
+* You can use plain text to search/replace (**-x**/**-ix** `search-text` to **-o** `replace-to`) if you're not farmiliar with `Regex`.
+* Using general `Regex` in **C++, C#, Java, Scala**, needless to learn strange Regex syntax like `FINDSTR`, `Awk` and `Sed`, etc.
 * **Most** of the time **only** use searching(Regex: **-t**/**-i -t**, Plain text: **-x**/**-i -x**);
 * **Some** of the time use searching with replacing-to(**-o**);
 * Just use **-PAC** to get pure result as same as other tools (no **P**ath-number: **-P**, no **A**ny-info : **-A**, no **C**olor: **-C**)
@@ -30,15 +32,19 @@
 * Also can see [tools/readme.txt](https://github.com/qualiu/msr/tree/master/tools)
 * **Zoom out** following screenshots to **90% or smaller** if it's not tidy or comfortable.
 ## msr on Windows/Linux
-* [msr on CentOS-7](https://qualiu.github.io/msr/usage-by-running/msr-CentOS-7.html)
+* [msr on Windows](https://qualiu.github.io/msr/usage-by-running/msr-Windows.html)
 * [msr on Cygwin](https://qualiu.github.io/msr/usage-by-running/msr-Cygwin.html)
 * [msr on Fedora-25](https://qualiu.github.io/msr/usage-by-running/msr-Fedora-25.html)
-* [msr on Windows](https://qualiu.github.io/msr/usage-by-running/msr-Windows.html)
+* [msr on CentOS-7](https://qualiu.github.io/msr/usage-by-running/msr-CentOS-7.html)
+* [msr on CentOS-6 32bit](https://qualiu.github.io/msr/usage-by-running/msr-i386-CentOS-32bit.html)
+
 ## nin on Windows/Linux
-* [nin on CentOS-7](https://qualiu.github.io/msr/usage-by-running/nin-CentOS-7.html)
+* [nin on Windows](https://qualiu.github.io/msr/usage-by-running/nin-Windows.html)
 * [nin on Cygwin](https://qualiu.github.io/msr/usage-by-running/nin-Cygwin.html)
 * [nin on Fedora-25](https://qualiu.github.io/msr/usage-by-running/nin-Fedora-25.html)
-* [nin on Windows](https://qualiu.github.io/msr/usage-by-running/nin-Windows.html)
+* [nin on CentOS-7](https://qualiu.github.io/msr/usage-by-running/nin-CentOS-7.html)
+* [nin on CentOS-6 32bit](https://qualiu.github.io/msr/usage-by-running/nin-i386-CentOS-32bit.html)
+
 ## Demo and test screenshots
 **Zoom out** following screenshots to **90% or smaller** if it's not tidy or comfortable.
 * [Linux demo and test](https://qualiu.github.io/msr/demo/linux-test.html)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lqm678</dc:creator><pubDate>Mon, 11 Sep 2017 10:42:31 -0000</pubDate><guid>https://sourceforge.netc1f6ecb61cee7be8e7a99b956626831f095b2900</guid></item><item><title>Home modified by lqm678</title><link>https://sourceforge.net/p/avasattva/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,157 @@
-Welcome to your wiki!
+### Liberate &amp;amp; Digitize daily works by 2 exe : Data Mining; Map-Reduce; Pipe Endless.
+#### Match/Search/Replace: msr.exe/msr.cygwin/msr.gcc**
+- **Match/Search/Replace/Execute/*** Files/Pipe Lines/Blocks.
+- **Filter/Load/Extract/Transform/Stats/*** Files/Pipe Lines/Blocks.
+#### Not-IN-latter: nin.exe/nin.cygwin/nin.gcc**
+- Get **Exclusive/Mutual** Line-Set or Key-Set;
+- **Remove** Line-Set or Key-Set matched in latter file/pipe;
+- Get **Unique/Mutual/Distribution/Stats/*** Files/Pipe Line-Set or Key-Set.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+# MSR overview: (usage/examples: [readme.txt](https://github.com/qualiu/msr/tree/master/tools/readme.txt) )
+### Performance comparison [msr &amp;gt; findstr, msr ~ grep](https://github.com/qualiu/msr/tree/master/perf) :
+| Compare findstr/grep on Windows | Compare findstr/grep on Cygwin |
+|-----|-----|
+| [**Colorful screenshot**](https://qualiu.github.io/msr/perf/on-Windows-comparison.html) | [**Colorful screenshot**](https://qualiu.github.io/msr/perf/on-Cygwin-comparison.html) |
+| [**Summary table**](https://github.com/qualiu/msr/blob/master/perf/summary-full-Windows-comparison.md) | [**Summary table**](https://github.com/qualiu/msr/blob/master/perf/summary-full-Cygwin-comparison.md) |

-The wiki uses [Markdown](/p/avasattva/wiki/markdown_syntax/) syntax.
+### **Vivid Colorful Demo/examples**: Run [windows-test.bat](https://github.com/qualiu/msr/blob/master/tools/windows-test.bat) without parameters.
+* Download all by command (Install [git](https://git-scm.com/downloads)) : **git clone** https://github.com/qualiu/msr/
+* If you've downloaded, run an updating command in the directory: **git pull** or **git fetch &amp;amp;&amp;amp; git reset --hard origin/master** (if get conflictions)
+* Helpful scripts use **msr.exe** and **nin.exe** : https://github.com/qualiu/msrTools , and also *.bat files in [tools](https://github.com/qualiu/msr/tree/master/tools)

-[[members limit=20]]
-[[download_button]]
+### Almost no learning cost:
+* Using general Regex in **C++, C#, Java, Scala**, needless to learn strange Regex syntax like FINDSTR, Awk and Sed, etc.
+* **Most** of the time **only** use searching(Regex: **-t**/**-i -t**, Plain text: **-x**/**-i -x**);
+* **Some** of the time use searching with replacing-to(**-o**);
+* Just use **-PAC** to get pure result as same as other tools (no **P**ath-number: **-P**, no **A**ny-info : **-A**, no **C**olor: **-C**)
+* All options are **optional** and **no order** and **effective mean while**; Free with abbreviations/full-names.
+
+# Usage screenshots
+* Also can see [tools/readme.txt](https://github.com/qualiu/msr/tree/master/tools)
+* **Zoom out** following screenshots to **90% or smaller** if it's not tidy or comfortable.
+## msr on Windows/Linux
+* [msr on CentOS-7](https://qualiu.github.io/msr/usage-by-running/msr-CentOS-7.html)
+* [msr on Cygwin](https://qualiu.github.io/msr/usage-by-running/msr-Cygwin.html)
+* [msr on Fedora-25](https://qualiu.github.io/msr/usage-by-running/msr-Fedora-25.html)
+* [msr on Windows](https://qualiu.github.io/msr/usage-by-running/msr-Windows.html)
+## nin on Windows/Linux
+* [nin on CentOS-7](https://qualiu.github.io/msr/usage-by-running/nin-CentOS-7.html)
+* [nin on Cygwin](https://qualiu.github.io/msr/usage-by-running/nin-Cygwin.html)
+* [nin on Fedora-25](https://qualiu.github.io/msr/usage-by-running/nin-Fedora-25.html)
+* [nin on Windows](https://qualiu.github.io/msr/usage-by-running/nin-Windows.html)
+## Demo and test screenshots
+**Zoom out** following screenshots to **90% or smaller** if it's not tidy or comfortable.
+* [Linux demo and test](https://qualiu.github.io/msr/demo/linux-test.html)
+* [Windows demo, test and compare-base](https://qualiu.github.io/msr/demo/windows-test-compare-base.html)
+* [Windows demo and test](https://qualiu.github.io/msr/demo/windows-test.html)
+* [Peformance comparison on Cygwin](https://qualiu.github.io/msr/perf/on-Cygwin-comparison.html)
+* [Peformance comparison on Windows](https://qualiu.github.io/msr/perf/on-Windows-comparison.html)
+
+### Powerful
+* Single exe for multiple platforms: **Windows/Linux/Cygwin/Ubuntu/CentOS/Fedora** .
+* Smart Loading files with 8 composable kinds of filters:
+    * 5 pairs of file attribute filters &lt;br/&gt;
+      * File name patterns (**-f**/**--nf**)
+      * Directory patterns(**-d**/**--nd**)
+      * Full path patterns(**--pp**/**--np**)
+      * Size range(**--s1**,**--s2**)
+      * Write-time range(**--w1**,**--w2**)
+    * 3 kinds of file row / block filters to start/stop/skip reading/replacing each files/pipe: &lt;br/&gt;
+      * Row/line number begin/end (**-L**, **-N**);
+      * Block begin/end patterns (**-b**, **-Q**);
+      * Normal begin/end patterns (**b**, **-q**).
+* Process pipe (output of self/other commands) **endless** as you want.
+* Two composable single exe: [msr.exe/cygwin/gcc*](https://github.com/qualiu/msr/blob/master/tools/readme.txt) especially powerful with [nin.exe/cygwin/gcc*](https://github.com/qualiu/msr/blob/master/tools/readme.txt).
+* **54**/**21** composable options for [msr](https://github.com/qualiu/msr/blob/master/tools/readme.txt) / [nin](https://github.com/qualiu/msr/blob/master/tools/readme.txt) (just run them without parameters to get colorful usage/examples or see [readme.txt](https://github.com/qualiu/msr/blob/master/tools/readme.txt)) for further extractions/mining.
+     ```
+     msr --help # same as : msr -h / msr
+     nin  --help # same as : nin  -h / nin
+     msr | msr -t "^\s*-{1,2}\S+" -q "^\s*-h\s+"
+     nin | msr -t "^\s*-{1,2}\S+" -q "^\s*-h\s+"
+     ```
+### One limitation:
+* Cannot process Unicode files/pipe so far; Fine with UTF-8 and ANSI etc.
+
+### Just run the exe, you'll get the usage and examples.
+Besides, some script/batch/shell files are also examples.
+
+Search/Replace text by **msr.exe** / **msr.gcc**** / **msr.cygwin**
+  * in files or from pipe
+    - pipe (command line result);
+    - files recursively in directories and multiple root paths separated by comma or semicolon.
+  * with
+    - Normal/Plain text searching/replacing;
+    - Regex text searching/replacing, and with single-line/multi-line mode.
+  * with excluding and including syntax meanwhile for
+    - Filtering file-name/directory-name/full-path-string;
+    - Filtering  include text and exclude text;
+    - Filtering files by write-time range and file size.
+  * Finally Sort result text by specified time or text (regex pattern);
+  * Output with hierarchy colors by searching-regex and enhancing-regex.
+
+## Typical scenarios of msr: Coding/Deploying/Test/Operation/Log-Mining
+1. Find text in pipe (command line result) or files (such as code, log)
+2. Replace/Extract/Tranform text from pipe or files **recursively** in **multiple** root path.
+3. Search/Replace and get percentage, distribution; further extraction on previous pipe or even command line.
+4. [Find processes](https://github.com/qualiu/msr/blob/master/tools/psall.bat) / [Kill processes](https://github.com/qualiu/msr/blob/master/tools/pskill.bat) by regex/pid with colorful matching.
+5. Find files with specified name, in modification time range, size range and other filters, then use the path list to operate (**-X** is helpful).
+6. Look up a tool's usage with colors and context (Up/Down lines).
+7. Grep a command's result with matching info and time cost, and colorful matched lines or blocks.
+8. Adding colors to your scripts, especially nice to usage and examples section.
+9. Map &amp;lt;--&amp;gt; Reduce : Filter files and load, extract, transform, ... , pipe endless.
+ ... ...
+
+### With requirements of:
+1. Basic text searching(**-x**) / replacing-to(**-o**) , plus case sensitive or not (**-i**).
+2. General Regex (regular expression) searching(**-t**)/replacing(**-o**) : consistent regex syntax with C#/C++/Java, not like strange or limited regex as AWK/GAWK/SED/FINDSTR …
+3. Recursively (**-r**) search / replace files in paths (**-p**) (multiple paths separated by "," or ";")
+   * For replacing: replace regex-pattern(**-t**)/normal-text(**-x**) to (**-o**) final-text
+     * Preview: no **-R**
+     * Replace : with **-R**
+     * Backup files only if changed/replaced (**-K**) :
+   * Backup : Original files will be backuped to : {name}--lz-backup--{file-last-write-time}-{N}
+     * Such as : myConfig.xml--lz-backup-2013-11-13__11_38_24
+      * But if replaced many times in a second :
+      * Will be : myConfig.xml--lz-backup-2013-11-13__11_38_24**-N** (**N**  start from 1 )
+   
+4. Powerful filtering: (can use all of following options meanwhile)
+   * For file : Sorting order by the prior of **--wt** and **--sz** if use both.
+      - file-name(**-f**) / directory-name(**-d**) / path(**-pp**) + ALL :
+      - include/exclude(**--nf**/**--nd**/**--np**) +ALL;
+      - file modification time filter: **--w1**,**--w2** : like --w1 2012-09-08  --w2 "2013-03-12 15" (or "2013-03-12 15:00")
+      - file size range filter: **--s1** , **--s2** : like --s1 100KB --s2 1M
+      - show file modification time and sort : **--wt** : useful if list file with **-l**
+      - show file size and unit and sort : **--sz** : useful if list file with **-l**
+   * For file row : if not begin or stopped, not output/match/replace even if matched.
+     - Regex pattern
+       * start reading  (**-b**)
+       * stop reading (**-q**) ignore if has matched start pattern.
+       * stop reading if has matched start pattern (**-Q**)
+     - File line number
+       * start at row (**-L**)
+       * stop at row (**-N**)
+  
+5. Matching(**-t**/**-x**) and non-matching(**--nt**/**--nx**) filter at mean while.(like file filter)
+6. Powerful output control:
+   * Can sort by time if specified time format **-F** for the logs from multiple paths;
+   * Colorful output and with hierarchy for captured matching group;
+   * Capture(**-t**/**-x**) and enhance(**-e**) and with different colors;
+   * Lines up(**-U**) and down(**-D**) as context to the captured row;
+   * Head(**-H**) and tail(**-T**) for whole result rows.
+   * Out summary info only if matched (**-O**)
+   * No any info just pure result (**-A**)
+   * Out summary info to stderr (**-I**)
+   * Execute(**-X**) output lines as commands (if they're callable commands) : because 'for' loop on Windows need escape | to ^| , &amp;gt; to ^&amp;gt; , etc.
+7. Extra and useful output info : if not use **-A**
+   * **When** you did it;
+   * **What** command line (**-c**) you used; What's the percentage and distribution.
+   * **Where** the files and rows (if not use **-P**) you searched/modified and working directory.
+   * **How** much time cost (so you know to start it at night/lunch if too long)
+   * Matching count and percentages (Also can use **-l** to get just brief file list and count/percentage)
+   * Use **-PAC** to get clean result (no path-line, no any info, no color)
+   * Use **-PIC** to output info to stderr pipe.
+   * Use **-PC**/**-POC**/**-l -PC**/**-lPOC** &amp;gt;nul(nul on Windows, /dev/null on Linux) to use summary info as source input for latter process/tool.
+   * If has **-c** in command line, can append any extra text, useful with **-O** **-H 0** or **&amp;gt;nul** to do further extraction based on summary info:
+     - msr -x "D:\data" -p xx.log -O &amp;gt;nul | msr -xxx xxx -c Checking D:\data
+   * Use **-z** to directly input string to read, avoid using echo which is clumsy in pipe on Windows.
+   * Use **-J** and **-H** output/match count to jump out.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lqm678</dc:creator><pubDate>Wed, 30 Aug 2017 16:34:52 -0000</pubDate><guid>https://sourceforge.net1daf04747e72a352587867bd6f28f30316ef22a1</guid></item><item><title>Home modified by lqm678</title><link>https://sourceforge.net/p/avasattva/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/avasattva/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/lqm678/"&gt;lqm678&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-59a6e5fd33262e3921521038" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lqm678</dc:creator><pubDate>Wed, 30 Aug 2017 16:21:17 -0000</pubDate><guid>https://sourceforge.netd6a17859c3f977f7b966d7a007e25f975c5acdb3</guid></item></channel></rss>