Note that there are some explanatory texts on larger screens.

plurals
  1. POOutput using awk in a pattern of svn log
    primarykey
    data
    text
    <p>How to get only modified and added files with revision,author and comments from svn log verbose in a pattern:</p> <p>cat test:</p> <pre><code>r7351 | user01 | 2013-07-02 17:53:28 -0400 (Tue, 02 Jul 2013) | 2 lines Changed paths: D /trunk/demo/proj1/.project jira-125723 Removing unwanted files ------------------------------------------------------------------------ ------------------------------------------------------------------------ r7352 | user02 | 2013-07-02 17:54:24 -0400 (Tue, 02 Jul 2013) | 2 lines Changed paths: D /trunk/demo/proj2/320-test.ert jira-125723 Removing unwanted files ------------------------------------------------------------------------ ------------------------------------------------------------------------ r7504 | user04 | 2013-07-08 14:26:36 -0400 (Mon, 08 Jul 2013) | 4 lines Changed paths: M /trunk/demo/maven/Sum.jsp M /trunk/demo/Code/Results.jsp jira-121639 WP-IQISU- lot of changes to fix issue ------------------------------------------------------------------------ ------------------------------------------------------------------------ r7523 | user08 | 2013-07-08 16:17:52 -0400 (Mon, 08 Jul 2013) | 1 line Changed paths: A /trunk/demo/ant/properties jira-2185[/CODE] </code></pre> <p><code>My code and output:</code></p> <pre><code>cat test | awk '/^r[0-9]* \|/ { REVISION=$1; } / [AM]/ { print REVISION": "$0; }' r7504: M /trunk/demo/maven/Sum.jsp r7504: M /trunk/demo/Code/Results.jsp r7523: A /trunk/demo/ant/properties[/CODE] </code></pre> <p>But i need author and comments information too. <code>Desired output:</code></p> <pre><code>r7504: user04 jira-121639 Modified /trunk/demo/maven/Sum.jsp WP-IQISU- lot of changes to fix issue r7504: user04 jira-121639 Modified /trunk/demo/Code/Results.jsp WP-IQISU- lot of changes to fix issue r7523: user08 jira-2185 Added /trunk/demo/ant/properties </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload