<?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=350637&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Problème d'alias... [résolu ^^]]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=350637</link>
		<description><![CDATA[Les sujets les plus récents dans Problème d'alias... [résolu ^^].]]></description>
		<lastBuildDate>Fri, 23 Oct 2009 21:08:08 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Problème d'alias... [résolu ^^]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3004401#p3004401</link>
			<description><![CDATA[<p>pour l&#039;histoire, ton problème venait du fait que les alias ne prennent pas en charge d&#039;arguments ($1), comme a dit wido le plus simple est de pointer vers ton script. Sinon tu peux déclarer une fonction dans ton .bashrc</p><div class="codebox"><pre><code>function truc () {
    ma_commande $1 blabla
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Fri, 23 Oct 2009 21:08:08 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3004401#p3004401</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Problème d'alias... [résolu ^^]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997760#p2997760</link>
			<description><![CDATA[<p>Thanks !<br />Nickel Marcel et au poil Pascal ^^</p><p>Doué moi <img src="http://forum.ubuntu-fr.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>Bon ben résolu <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />:D:D:D:D</p>]]></description>
			<author><![CDATA[dummy@example.com (miniSeb)]]></author>
			<pubDate>Tue, 20 Oct 2009 19:10:17 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997760#p2997760</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Problème d'alias... [résolu ^^]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997742#p2997742</link>
			<description><![CDATA[<p>Bonjour,<br />au lieu de mettre la commande directement, pourquoi tu ne pointes pas vers ton script et test si tu as la même chose?</p>]]></description>
			<author><![CDATA[dummy@example.com (wido)]]></author>
			<pubDate>Tue, 20 Oct 2009 19:03:50 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997742#p2997742</guid>
		</item>
		<item>
			<title><![CDATA[Problème d'alias... [résolu ^^]]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997729#p2997729</link>
			<description><![CDATA[<p>Bonsoir !<br />Un petit problème d&#039;alias :</p><p>J&#039;ai créé un fichier .sh contenant :</p><div class="codebox"><pre><code>#!/bin/bash
# script twitter
curl -u Mon_pseudo:Mon_MDP -d status=&quot;$1&quot; http://twitter.com/statuses/update.xml</code></pre></div><p>Quand je l&#039;exécute avec :</p><div class="codebox"><pre><code>./twitter.sh &quot;Message à envoyer&quot;</code></pre></div><p>tout fonctionne correctement...</p><p>Par contre, j&#039;ai voulu en faire un alias, en écrivant dans ~/.bashrc </p><div class="codebox"><pre><code>alias twitter=&#039;curl -u Mon_pseudo:Mon_MDP -d status=&quot;$1&quot; http://twitter.com/statuses/update.xml&#039;</code></pre></div><p>Et là, quand je fais :</p><div class="codebox"><pre><code>twitter &quot;Message à envoyer&quot;</code></pre></div><p>Ça ne fonctionne plus et je reçois ce message d&#039;erreur :</p><div class="codebox"><pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;hash&gt;
  &lt;request&gt;/statuses/update.xml&lt;/request&gt;
  &lt;error&gt;Client must provide a &#039;status&#039; parameter with a value.&lt;/error&gt;
&lt;/hash&gt;
curl: (6) Couldn&#039;t resolve host &#039;Message à envoyer&#039;</code></pre></div><p>Quelqu&#039;un aurait-il une solution pour moi?</p><p>J&#039;ai l&#039;impression de ne pas être très clair, mais j&#039;avoue ne pas trouver de meilleur moyen pour expliquer pour le moment... S&#039;il faut des infos supplémentaires, je suis là ^^</p><p>Merci d&#039;avance à qui portera attention à mon problème <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (miniSeb)]]></author>
			<pubDate>Tue, 20 Oct 2009 18:59:48 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2997729#p2997729</guid>
		</item>
	</channel>
</rss>
