<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jpdemory &#187; unix</title>
	<atom:link href="http://blog.jpdemory.com/tag/unix/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.jpdemory.com</link>
	<description>Ressources informatiques</description>
	<lastBuildDate>Mon, 02 Jan 2012 12:24:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bourne Shell : Réaliser une boucle sans fin</title>
		<link>http://blog.jpdemory.com/291</link>
		<comments>http://blog.jpdemory.com/291#comments</comments>
		<pubDate>Thu, 12 Aug 2010 05:53:36 +0000</pubDate>
		<dc:creator>Jean-Philippe DEMORY</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.jpdemory.com/blog/?p=291</guid>
		<description><![CDATA[On parfois besoin d&#8217;afficher de manière récurrente une information dans le shell d&#8217;Unix. Plutôt de que relancer plusieurs fois la commande manuellement, il est préférable d&#8217;employer une boucle sans fin. while : do date sleep 1 done Pour mettre fin à la boucle, il faudra appuyer sur les touches [Ctrl]+[c].]]></description>
			<content:encoded><![CDATA[<p>On parfois besoin d&#8217;afficher de manière récurrente une information dans le shell d&#8217;Unix. Plutôt de que relancer plusieurs fois la commande manuellement, il est préférable d&#8217;employer une boucle sans fin.</p>
<pre class="brush: bash; gutter: true">while :
do
date
sleep 1
done</pre>
<p>Pour mettre fin à la boucle, il faudra appuyer sur les touches [Ctrl]+[c].</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jpdemory.com/291/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim : convertir un fichier Windows en fichier Unix</title>
		<link>http://blog.jpdemory.com/204</link>
		<comments>http://blog.jpdemory.com/204#comments</comments>
		<pubDate>Sat, 11 Apr 2009 14:46:15 +0000</pubDate>
		<dc:creator>Jean-Philippe DEMORY</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.jpdemory.com/blog/?p=204</guid>
		<description><![CDATA[Il existe au moins deux possibilités pour convertir un fichier Windows en fichier Unix : Première méthode, on demande à vim de faire le travail : :set fileformat=unix ou :set ff=unix Seconde méthode, on retire tous les caractères &#8216;^M&#8217; à la main : :%s/^M//g Le caractère &#8216;^M&#8217; s&#8217;obtient avec les touches [ctrl-v] et [enter]]]></description>
			<content:encoded><![CDATA[<p>Il existe au moins deux possibilités pour convertir un fichier Windows en fichier Unix :<br />
<span id="more-204"></span><br />
Première méthode, on demande à vim de faire le travail :<br />
<code>:set fileformat=unix</code> ou <code>:set ff=unix</code></p>
<p>Seconde méthode, on retire tous les caractères &#8216;^M&#8217; à la main :<br />
<code>:%s/^M//g</code><br />
Le caractère &#8216;^M&#8217; s&#8217;obtient avec les touches [ctrl-v] et [enter]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jpdemory.com/204/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

