<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1193211&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [resolu] conversion date JJ//MM en MM/JJ]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1193211</link>
		<description><![CDATA[Les sujets les plus récents dans [resolu] conversion date JJ//MM en MM/JJ.]]></description>
		<lastBuildDate>Fri, 08 Feb 2013 16:09:38 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12510341#p12510341</link>
			<description><![CDATA[<p>ok donc impossible en passant &quot;simplement&quot; par date.</p><p>Merci à vous tous pour vos propositions <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 08 Feb 2013 16:09:38 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12510341#p12510341</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12509791#p12509791</link>
			<description><![CDATA[<p>si c&#039;est juste pour permuter JJ et MM et qu&#039;on n&#039;a pas besoin d&#039;options de la commande date, on peut aussi:</p><div class="codebox"><pre><code>$ echo $date
2/25/2013
$ echo ${date:2:2}/${date:0:1}/${date:5:4}
25/2/2013</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (credenhill)]]></author>
			<pubDate>Fri, 08 Feb 2013 15:34:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12509791#p12509791</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12509171#p12509171</link>
			<description><![CDATA[<p>Alors la... LOL <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Mais tu répond bien à la problématique posée <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Hoper)]]></author>
			<pubDate>Fri, 08 Feb 2013 14:55:49 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12509171#p12509171</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508491#p12508491</link>
			<description><![CDATA[<p>hello</p><div class="codebox"><pre><code>$ date=25/2/2013
$ date +%m/%d/%Y -d &quot;$(export IFS=&quot;/&quot; ; set -- $date; echo $3/$2/$1)&quot;
02/25/2013</code></pre></div><p>edit: ou </p><div class="codebox"><pre><code>$ oIFS=&quot;$IFS&quot;; export IFS=&quot;/&quot; ; set -- $date; IFS=&quot;$oIFS&quot;; date=$2/$1/$3; echo $date
2/25/2013</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (credenhill)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:52:38 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508491#p12508491</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508321#p12508321</link>
			<description><![CDATA[<p>oui c&#039;est ce que j&#039;ai vu, je me suis dit que ca venait peut etre de moi mais pour le coup ca ne semble pas <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>bah en attendant d&#039;avoir une autre confirmation, je vais utiliser ton awk <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>merci</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:30:30 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508321#p12508321</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508311#p12508311</link>
			<description><![CDATA[<p>Le problème c&#039;est que la commande date attend justement une date au format que tu souhaite, à savoir : (extrait du man)&#160; [MMDDhhmm[[CC]YY][.ss]]</p><p>Donc d&#039;abbord le mois, ensuite l&#039;heure, puis les minutes. (et optionnellement, l&#039;année et les secondes)</p>]]></description>
			<author><![CDATA[dummy@example.com (Hoper)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:29:04 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508311#p12508311</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508191#p12508191</link>
			<description><![CDATA[<p>ouais plus simple mais je voulais savoir si date permettait de le faire</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:11:40 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508191#p12508191</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508101#p12508101</link>
			<description><![CDATA[<p>Personnellement j&#039;utiliserai plutôt la commande awk.<br />Essaye ça :</p><p>export TEST=&quot;10/12/2003&quot;<br />echo $TEST | awk -F &#039;/&#039; &#039;{print $2&quot;/&quot;$1&quot;/&quot;$3}&#039;</p>]]></description>
			<author><![CDATA[dummy@example.com (Hoper)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:05:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508101#p12508101</guid>
		</item>
		<item>
			<title><![CDATA[[resolu] conversion date JJ//MM en MM/JJ]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508001#p12508001</link>
			<description><![CDATA[<p>Bonjour,</p><p>J&#039;ai une liste de date au format JJ/MM/AAAA que je voudrais convertir en MM/JJ/AAAA, je pense que la commande date peut le faire mais il ne comprend pas ma date de base :</p><div class="codebox"><pre><code>date +%m/%d/%Y -d 25/02/2013
date: date non valide «25/02/2013»</code></pre></div><p>est-ce possible ?</p><p>ou faut-il utiliser sed ? (un truc du genre sed &quot;s@\(.*\)/\(.*\)/\.*\)@\2/\1/\3@&quot;)</p>]]></description>
			<author><![CDATA[dummy@example.com (Hizoka)]]></author>
			<pubDate>Fri, 08 Feb 2013 12:59:12 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12508001#p12508001</guid>
		</item>
	</channel>
</rss>
