<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://build2be.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>build2be/com/e - grep</title>
 <link>https://build2be.com/category/grep</link>
 <description></description>
 <language>en</language>
<item>
 <title>Migrate plugins</title>
 <link>https://build2be.com/content/migrate-plugins</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;cd web/code/
# source
find . -type d -name &quot;migrate&quot; | ack -v -i test | xargs -I {} find {}/source -name &#039;*.php&#039; 2&amp;gt;/dev/null | wc -l
     121
# destination
find . -type d -name &quot;migrate&quot; | ack -v -i test | xargs -I {} find {}/destination -name &#039;*.php&#039; 2&amp;gt;/dev/null | wc -l
      34
# process
find . -type d -name &quot;migrate&quot; | ack -v -i test | xargs -I {} find {}/process -name &#039;*.php&#039; 2&amp;gt;/dev/null | wc -l
      84
# all ?!?
core clemens$ find . -type d -name &quot;migrate&quot; | ack -v -i test | xargs -I {} find {} -name &#039;*.php&#039; 2&amp;gt;/dev/null | wc -l
     509
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 21 May 2020 17:33:30 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">196 at https://build2be.com</guid>
 <comments>https://build2be.com/content/migrate-plugins#comments</comments>
</item>
<item>
 <title>grep those gits aka drupal contribs</title>
 <link>https://build2be.com/content/grep-those-gits-aka-drupal-contribs</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/grep-those-gits-aka-drupal-contribs&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/128770736688691365.jpg?itok=XKgS6aPd&quot; width=&quot;220&quot; height=&quot;148&quot; alt=&quot;http://images.icanhascheezburger.com/completestore/2009/1/21/128770736688691365.&quot; title=&quot;http://images.icanhascheezburger.com/completestore/2009/1/21/128770736688691365.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Following along the git migration and project cannot be grepped anymore I brewed the following code.&lt;/p&gt;
&lt;p&gt;It assumes the gits are already cloned and placed is one common directory.&lt;/p&gt;
&lt;p&gt;After running the script all repositories with a $major == 7 branch are set into the highest version.&lt;/p&gt;
&lt;p&gt;I&#039;m puzzling how to &#039;empty&#039; the non $major compatible repos.&lt;/p&gt;
&lt;p&gt;The fun part is now doing analysis on the tree&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 11 Aug 2011 15:03:42 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">121 at https://build2be.com</guid>
 <comments>https://build2be.com/content/grep-those-gits-aka-drupal-contribs#comments</comments>
</item>
<item>
 <title>Searching an issue on drupal.org with jQuery.grep</title>
 <link>https://build2be.com/content/searching-issue-drupalorg-jquerygrep</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;On &lt;a href=&quot;http://drupal.org/node/686938&quot;&gt;http://drupal.org/node/686938&lt;/a&gt; people are reporting a lot sloppy reports of error lines. The issue is about &lt;code&gt;&lt;br /&gt;
Undefined index: [xyz] in line ...&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;But what are the names of the failing indexes?&lt;/p&gt;
&lt;p&gt;jQuery has a nice grep so lets use it.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sun, 17 Jul 2011 12:44:07 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">117 at https://build2be.com</guid>
 <comments>https://build2be.com/content/searching-issue-drupalorg-jquerygrep#comments</comments>
</item>
<item>
 <title>Dumping all tables with drush</title>
 <link>https://build2be.com/content/dumping-all-tables-drush</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;I want a clean database without clicking.&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;&lt;code&gt;echo &quot;\
SELECT concat(&#039;drop table &#039;, table_name, &#039;;&#039;) \
&amp;nbsp; FROM information_schema.tables \
&amp;nbsp; WHERE table_schema=schema()&quot; \
| `drush sql-connect` \
| grep &quot;^drop table &quot; \
| `drush sql-connect`&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This work only for single drupal / single schema installs.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 20 May 2010 10:46:21 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">103 at https://build2be.com</guid>
 <comments>https://build2be.com/content/dumping-all-tables-drush#comments</comments>
</item>
</channel>
</rss>
