<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6868&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to replace all mentions in git soure code,]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6868</link>
		<description><![CDATA[The most recent posts in How to replace all mentions in git soure code,.]]></description>
		<lastBuildDate>Thu, 03 Oct 2024 07:44:27 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52509#p52509</link>
			<description><![CDATA[<p>@ralph.ronnquist fair point hmm....</p><p>Yeah, it must keep resetting... then.&#160; I am doing something a bit out of the norm anyhow for here.</p><p>So I will leave it at that.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Thu, 03 Oct 2024 07:44:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52509#p52509</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52508#p52508</link>
			<description><![CDATA[<p>The command you are using,</p><div class="codebox"><pre><code>git rev-list --all | xargs git grep -F python2.7</code></pre></div><p> scans <span class="bbu">all versions</span> of all files in reverse chronological order, to find &quot;python2.7&quot;.</p><p>Probably you mean to only check the <span class="bbu">latest version</span> of the files? Like</p><div class="codebox"><pre><code>grep  -F python2.7 -r *</code></pre></div><p> which would not report any match.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 03 Oct 2024 07:07:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52508#p52508</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52507#p52507</link>
			<description><![CDATA[<p>@fsmithred hmm... weird I tried that and it still left stuff behind unchanged...</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Thu, 03 Oct 2024 05:08:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52507#p52507</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52504#p52504</link>
			<description><![CDATA[<p>Yeah, you have to tell sed <em>exactly</em> what to find and replace.</p><div class="codebox"><pre><code>find . -type f -exec sed -i &#039;s/python2.7/tauthon/g&#039; {} \;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 Oct 2024 23:12:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52504#p52504</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52501#p52501</link>
			<description><![CDATA[<p>Yes you are confused <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p><p>That find command of @fsmithred, when taken literally, will replace all occurrences of &quot;old-word&quot; (literally) with &quot;new-word&quot; (literally), and it will do nothing to occurrences of &quot;python2.7&quot;.</p><p>That is a puzzle for ome and not for others.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 02 Oct 2024 21:33:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52501#p52501</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52495#p52495</link>
			<description><![CDATA[<p>In simple terms, I did this:</p><p>find . -type f -exec sed -i &#039;s/old-word/new-word/g&#039; {} \;</p><p>Then I did my command to check to see if it was fixed,</p><p>git rev-list --all | xargs git grep -F python2.7</p><p>I seem to have gotten mixed up and written wrong thing down... my bad.</p><p>In any case, that might help clear up the confusion.</p><p>Does the find command you gave me actually replace all mentions of the word python2.7 if I put it as first word with the second word in all source code?</p><p>Or am I really confused.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Wed, 02 Oct 2024 20:33:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52495#p52495</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52494#p52494</link>
			<description><![CDATA[<p>You said, &quot;I used this command after doing that.&quot;</p><p>I ask, &quot;What did you do before you ran that &#039;find&#039; command?&quot;&#160; It should have worked.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 Oct 2024 20:10:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52494#p52494</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52490#p52490</link>
			<description><![CDATA[<p>@golinux which is why I am replacing python2.7 with tauthon instead of python with tauthon</p><p>;P</p><p>Btw, I used this command after doing that:</p><p>git rev-list --all | xargs git grep -F python2.7</p><p>and it still shows python2.7 mentions... weird stuff.</p><p>Correcting what I said, I wrote down the wrong one.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Wed, 02 Oct 2024 19:24:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52490#p52490</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52489#p52489</link>
			<description><![CDATA[<p>You are giving zapper a loaded gun to play with?! Oh my!!!&#160; <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Wed, 02 Oct 2024 18:08:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52489#p52489</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52487#p52487</link>
			<description><![CDATA[<p>From the root of the git repo:</p><div class="codebox"><pre><code>find . -type f -exec sed -i &#039;s/old-word/new-word/g&#039; {} \;</code></pre></div><p>Be careful with your words! (e.g. don&#039;t change a word that might be part of a word that&#039;s not the intended word.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 Oct 2024 17:19:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52487#p52487</guid>
		</item>
		<item>
			<title><![CDATA[How to replace all mentions in git soure code,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52484#p52484</link>
			<description><![CDATA[<p>I am basically asking, something in continuation to this:</p><p><a href="http://dev1galaxy.org/viewtopic.php?id=6857" rel="nofollow">http://dev1galaxy.org/viewtopic.php?id=6857</a></p><p>How can I replace all mentions instead of a word instead of searching for it.</p><p>Through all of a git folders/repo</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Wed, 02 Oct 2024 16:39:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52484#p52484</guid>
		</item>
	</channel>
</rss>
