<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://dev.flyou.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Flyou.net [Dev] : Développements</title>
  <link>http://dev.flyou.net/</link>
  <atom:link href="http://dev.flyou.net/feed/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Thu, 18 Apr 2013 10:43:30 +0200</pubDate>
  <copyright>2004-201</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Comment ajouter un fichier au début d'un autre en Shell</title>
    <link>http://dev.flyou.net/post/2012/11/09/Comment-ajouter-un-fichier-au-d%C3%A9but-d-un-autre-en-Shell</link>
    <guid isPermaLink="false">urn:md5:468a6a0e517f23f8fa61a5a237a4d921</guid>
    <pubDate>Fri, 09 Nov 2012 14:00:00 +0100</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Documentations</category>
        <category>bash</category><category>ksh</category><category>Linux</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Voilà le topo, vous faites du &lt;a href=&quot;http://dev.flyou.net/tag/Shell&quot;&gt;Shell&lt;/a&gt; (si si, y en a) et vous devez pour d'obscures raisons ajouter le contenu d'un fichier (appelons le &lt;code&gt;aCopier.txt&lt;/code&gt;) au début d'un autre (appelons le &lt;code&gt;destination.txt&lt;/code&gt;).&lt;/p&gt;


&lt;p&gt;Par exemple&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;fly@dtc:~$ cat aCopier.txt
# Ho la belle ligne que je me dois de copier au début d'un autre fichier
# Entete,id,securities,ftt(French_Tax_Tobin)
fly@dtc:~$ cat destination.txt
bnp,7553,37426,130054874
cmcic,425,1271,99412364
ca,1103,17345,94577741
sg,211,914,4113647&lt;/pre&gt;


&lt;p&gt;Souvent les gens prennent le fichier destination, le copient à la fin du fichier à copier et remplace le fichier destination, ce qui se traduit souvent par un&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;fly@dtc:~$ cat destination.txt &amp;gt;&amp;gt; aCopier.txt &amp;amp;&amp;amp; mv aCopier.txt destination.txt
fly@dtc:~$ cat destination.txt
# Ho la belle ligne que je me dois de copier au début d'un autre fichier
# Entete,id,securities,ftt(French_Tax_Tobin)
bnp,7553,37426,130054874
cmcic,425,1271,99412364
ca,1103,17345,94577741
sg,211,914,4113647&lt;/pre&gt;


&lt;p&gt;J'y vois personnellement deux inconvénients&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;L'opération n'est pas atomique&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2012/11/09/Comment-ajouter-un-fichier-au-d%C3%A9but-d-un-autre-en-Shell#pnote-44-1&quot; id=&quot;rev-pnote-44-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;On perd le fichier &lt;code&gt;aCopier.txt&lt;/code&gt; dans l'opération.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Donc pour moi, la solution est plutôt&amp;nbsp;:
&lt;code&gt;echo &quot;$(&amp;lt;aCopier.txt)&quot; &quot;$(&amp;lt;destination.txt)&quot; &amp;gt; destination.txt&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;Non seulement, cela a l'avantage d'être du &lt;a href=&quot;http://dev.flyou.net/tag/Shell&quot;&gt;Shell&lt;/a&gt; only (&lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt; ou &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;KSH&lt;/a&gt;), mais il me reste le fichier à copier...&lt;/p&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2012/11/09/Comment-ajouter-un-fichier-au-d%C3%A9but-d-un-autre-en-Shell#rev-pnote-44-1&quot; id=&quot;pnote-44-1&quot;&gt;1&lt;/a&gt;] Par atomique, j'entends qu'il y a plusieurs étapes successives et donc que pour un retour arrière, c'est plus embettant. D'autant plus à cause du point suviant...&lt;/p&gt;&lt;/div&gt;
</description>
    
    
    
          <comments>http://dev.flyou.net/post/2012/11/09/Comment-ajouter-un-fichier-au-d%C3%A9but-d-un-autre-en-Shell#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2012/11/09/Comment-ajouter-un-fichier-au-d%C3%A9but-d-un-autre-en-Shell#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/44</wfw:commentRss>
      </item>
    
  <item>
    <title>Retrouver ses Librairies</title>
    <link>http://dev.flyou.net/post/2012/07/31/Retrouver-ses-Librairies</link>
    <guid isPermaLink="false">urn:md5:faee7a168b5759f3d2fd641a8c8008ab</guid>
    <pubDate>Tue, 31 Jul 2012 09:07:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>AIX</category><category>bash</category><category>ksh</category><category>Shell</category>    
    <description>    &lt;p&gt;Comme bien souvent quand on écrit un script en &lt;a href=&quot;http://dev.flyou.net/tag/Shell&quot;&gt;Shell&lt;/a&gt;, on se pose la question des fichiers de paramètres et régulièrement on en arrive à gérer le petit &lt;code&gt;-c configFile&lt;/code&gt; ou &lt;code&gt;-f configFile&lt;/code&gt;. Cependant, lorsque des librairies sont à charger on veut être sûr de là où elles sont.&lt;/p&gt;


&lt;p&gt;Dans mon cas, je mets mes librairies dans un sous répertoire du script à appeler. C'est classic et simple. Par contre, là où ça devient un brin chiant, c'est quand le file system contenant le script est truffé de liens symboliques et que le script est appelé via un lien&amp;nbsp;; une fois sur deux on retrouve pas ses petits.&lt;/p&gt;


&lt;p&gt;J'ai donc pris l'habitude de commencer chacun de mes scripts avec les lignes suivantes (qui fonctionnent avec un vieux &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;KSH&lt;/a&gt; ou &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt; (et même sur &lt;a href=&quot;http://dev.flyou.net/tag/AIX&quot;&gt;AIX&lt;/a&gt;)&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;
__sName=&amp;quot;${0}&amp;quot;; __pName=&amp;quot;${0}&amp;quot;;
if [ -L &amp;quot;${0}&amp;quot; ]; then
    __=&amp;quot;$(command -v &amp;quot;readlink&amp;quot;)&amp;quot;
    if [ &amp;quot;readlink&amp;quot; = &amp;quot;${__##*/}&amp;quot; ]; then
        __sName=&amp;quot;$(readlink -m &amp;quot;${__sName}&amp;quot;)&amp;quot;
    else
        __sName=&amp;quot;$(set -- $(LC_ALL=C file &amp;quot;${0}&amp;quot;); echo ${5:1:$((${#5} - 2))})&amp;quot;; __sName=&amp;quot;$(dirname &amp;quot;${__pName}&amp;quot;)/$(dirname &amp;quot;${__sName}&amp;quot;)/${__sName##*/}&amp;quot;
    fi
fi
__pName=&amp;quot;$( cd &amp;quot;${__sName%/*}&amp;quot; ; pwd )&amp;quot;; __sName=&amp;quot;${__pName}/${__sName##*/}&amp;quot;; __fName=&amp;quot;${__sName##*/}&amp;quot;&lt;/pre&gt;


&lt;p&gt;Ainsi, je peux charger ce que j'ai besoin avec un &lt;code&gt;. ${__pName}/lib/F01/common.lib&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;Donc&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;__pName&lt;/code&gt; contient le chemin absolu du script (avec les liens suivis et tout et tout),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;__sName&lt;/code&gt; contient le chemin complet et nom du script (avec les liens &lt;em&gt;résolus&lt;/em&gt;, donc absolu),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;__fName&lt;/code&gt; contient le nom final du script (et pas le nom du lien si appelé par un lien).&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2012/07/31/Retrouver-ses-Librairies#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2012/07/31/Retrouver-ses-Librairies#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/43</wfw:commentRss>
      </item>
    
  <item>
    <title>Comment déterminer les répertoires associés à un disque  sur AIX</title>
    <link>http://dev.flyou.net/post/2011/09/26/Comment-d%C3%A9terminer-les-r%C3%A9pertoires-associ%C3%A9s-%C3%A0-un-disque-sur-AIX</link>
    <guid isPermaLink="false">urn:md5:4f8f2b67d68d445b7043ff2b4e28c8fd</guid>
    <pubDate>Mon, 26 Sep 2011 12:50:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>AIX</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Alors qu'il  y a peu, je me posais la question inverse, à savoir&amp;nbsp;: &lt;a href=&quot;http://dev.flyou.net/post/2011/07/20/Comment-d%C3%A9terminer-un-disque-en-partant-d-un-r%C3%A9pertoire-sur-AIX&quot; hreflang=&quot;fr&quot;&gt;Comment déterminer un disque en partant d'un répertoire sur AIX&lt;/a&gt;, j'ai aujourd'hui la problématique inverse et ça fait chier&amp;nbsp;!&lt;/p&gt;


&lt;p&gt;Donc pour pas perdre de temps voici comment faire simple&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# r='hdisk5';for vg in $(lsvg); do lsvg -l $vg | tail +3 | awk '{print $1,$NF}' | while read dsk lv; do if lslv -l $dsk|grep $r&amp;gt;/dev/null; then echo &amp;quot;$vg - $lv&amp;quot;; fi;done; done
appvg - N/A
appvg - /var/mqm
appvg - /opt/IBM/ITM
appvg - /u01
appvg - /app_nfs
&lt;/pre&gt;


&lt;p&gt;On remplace le &lt;code&gt;r=blabla&lt;/code&gt; et on lance en &lt;code&gt;root&lt;/code&gt; évidemment.&lt;/p&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2011/09/26/Comment-d%C3%A9terminer-les-r%C3%A9pertoires-associ%C3%A9s-%C3%A0-un-disque-sur-AIX#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/09/26/Comment-d%C3%A9terminer-les-r%C3%A9pertoires-associ%C3%A9s-%C3%A0-un-disque-sur-AIX#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/42</wfw:commentRss>
      </item>
    
  <item>
    <title>RFC 1924 : IPv6 compression (A Compact Representation of IPv6 Addresses)</title>
    <link>http://dev.flyou.net/post/2011/08/29/RFC-1924-%3A-IPv6-compression-%28A-Compact-Representation-of-IPv6-Addresses%29</link>
    <guid isPermaLink="false">urn:md5:516f095dae50a45824b1cda00b57b7f8</guid>
    <pubDate>Mon, 29 Aug 2011 23:53:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>Linux</category><category>RFC</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;You know how it works, your wife left you with childrens to see her mother... And you're alone for the entire week end. So you read April Fool's &lt;acronym title=&quot;Request For Coment&quot;&gt;RFC&lt;/acronym&gt;, and you decide to implement one for fun.&lt;/p&gt;


&lt;h3&gt;What is it about ?&lt;/h3&gt;

&lt;p&gt;First of all, the &lt;acronym title=&quot;Request For Coment&quot;&gt;RFC&lt;/acronym&gt;, i choose, was the &lt;a href=&quot;http://tools.ietf.org/rfc/rfc1924.txt&quot; hreflang=&quot;en&quot; title=&quot;The RFC on IETF site&quot;&gt;1924&lt;/a&gt;. To make it simple, it's only a sort of &lt;em&gt;How to compress IPv6&lt;/em&gt; to store them more efficiently.&lt;/p&gt;

&lt;pre&gt;
 $ ./ipv6Converter.sh -I ab:CD:ef:01:23:45:67:89
 The IPv6 you enter is         : [ab:CD:ef:01:23:45:67:89]
 ---------------------------------------------------------
 IPv6 expanded is              : [00ab:00cd:00ef:0001:0023:0045:0067:0089]
 IPv6 shrinked (RFC5952) is    : [ab:cd:ef:1:23:45:67:89]
 IPv6 decimal format is        : 887899004871704238012413915815149705
 IPv6 compressed (RFC1924) is  : Gk+pw{*-scXTvbLbnhP
&lt;/pre&gt;


&lt;h3&gt;More info ?&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;http://code.flyou.net/trac/wiki/ipv6Converter.sh&quot; hreflang=&quot;en&quot; title=&quot;Wiki article&quot;&gt;ipv6Converter.sh&lt;/a&gt; on Trac.&lt;/p&gt;


&lt;h3&gt;Download&lt;/h3&gt;

&lt;p&gt;&lt;del&gt;v0.03&lt;/del&gt;&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2011/08/29/RFC-1924-%3A-IPv6-compression-%28A-Compact-Representation-of-IPv6-Addresses%29#pnote-37-1&quot; id=&quot;rev-pnote-37-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt;&lt;br /&gt;
&lt;a href=&quot;http://dev.flyou.net/public/rfc1924/rfc1924-ipv6Converter_v0.04.tar.bz2&quot;&gt;v0.04&lt;/a&gt; (SHA1SUM : 63f5f5abd9b9d8fdb5556b284a254bca3ed64920)&lt;/p&gt;



&lt;h3&gt;Pre-requisites&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Bash 4 minimum&lt;/li&gt;
&lt;li&gt;your happyness&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2011/08/29/RFC-1924-%3A-IPv6-compression-%28A-Compact-Representation-of-IPv6-Addresses%29#rev-pnote-37-1&quot; id=&quot;pnote-37-1&quot;&gt;1&lt;/a&gt;] A little bug forced me to release v0.04...&lt;/p&gt;&lt;/div&gt;
</description>
    
          <enclosure url="http://dev.flyou.net/public/rfc1924/rfc1924-ipv6Converter_v0.04.tar.bz2"
      length="217187" type="application/x-bzip" />
    
    
          <comments>http://dev.flyou.net/post/2011/08/29/RFC-1924-%3A-IPv6-compression-%28A-Compact-Representation-of-IPv6-Addresses%29#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/08/29/RFC-1924-%3A-IPv6-compression-%28A-Compact-Representation-of-IPv6-Addresses%29#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/37</wfw:commentRss>
      </item>
    
  <item>
    <title>Comment déterminer un disque en partant d'un répertoire sur AIX</title>
    <link>http://dev.flyou.net/post/2011/07/20/Comment-d%C3%A9terminer-un-disque-en-partant-d-un-r%C3%A9pertoire-sur-AIX</link>
    <guid isPermaLink="false">urn:md5:78c5022a9e16aa0c8472ef918d3f73f2</guid>
    <pubDate>Wed, 20 Jul 2011 15:38:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Informations</category>
        <category>AIX</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Oui, bon alors, il y en a qui vont dire&amp;nbsp;: &quot;Ton titre, il est nul, on ne comprend rien&quot;. C'est probable, mais c'est surtout un pense-bête pour moi-même.&lt;/p&gt;


&lt;p&gt;Donc admettons que nous connaissions le répertoire &lt;code&gt;/opt/WebSphere61&lt;/code&gt;, un simple &lt;code&gt;df&lt;/code&gt; me donne quelques informations&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;   # df -k /opt/WebSphere61
   Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
   /dev/was61log     4128768    344040   92%     2370     3% /opt/WebSphere61&lt;/pre&gt;


&lt;p&gt;Cependant je n'ai toujours par connaissance du disque. Voyons si &lt;code&gt;lsfs&lt;/code&gt; peut nous aider&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# lsfs
Name            Nodename   Mount Pt               VFS   Size    Options    Auto Accounting
/dev/hd4        --         /                      jfs2  131072  --         yes  no 
/dev/hd1        --         /home                  jfs2  65536   --         yes  no 
/dev/hd2        --         /usr                   jfs2  7208960 --         yes  no 
/dev/hd9var     --         /var                   jfs2  1114112 --         yes  no 
/dev/hd3        --         /tmp                   jfs2  2162688 --         yes  no 
/dev/hd11admin  --         /admin                 jfs2  262144  --         yes  no 
/proc           --         /proc                  procfs --      --         yes  no 
/dev/hd10opt    --         /opt                   jfs2  9699328 --         yes  no 
/dev/was61log   --         /opt/WebSphere61       jfs2  14548992 rw         yes  no 
/dev/lvcode     --         /code                  jfs2  20971520 rw         no   no 
&lt;/pre&gt;


&lt;p&gt;Donc pas mieux... Mais pas pire non plus...&lt;/p&gt;


&lt;p&gt;D'où, deux choix, je me farci tous les &lt;acronym title=&quot;Volume Group&quot;&gt;VG&lt;/acronym&gt;s à la main pour déterminer le &lt;acronym title=&quot;Logical Volume&quot;&gt;LV&lt;/acronym&gt; en fonction du répertoire cherché, comme ça&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# lsvg
rootvg
appvg
datavg

# lsvg -l rootvg
rootvg:
...
# lsvg -l  appvg
appvg:
...
# lsvg -l  datavg
datavg:
...
was61log            jfs2       63      63      1    open/syncd    /opt/WebSphere61
...
&lt;/pre&gt;


&lt;p&gt;Ou alors, je suis une faignasse et je tape&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# for vg in $(lsvg); do echo &amp;quot;${vg}: &amp;quot;; lsvg -l &amp;quot;${vg}&amp;quot; grep /opt/WebSphere61; done
rootvg: 
appvg: 
datavg: 
was61log            jfs2       63      63      1    open/syncd    /opt/WebSphere61
&lt;/pre&gt;


&lt;p&gt;Me reste plus qu'un petit &lt;code&gt;lslv&lt;/code&gt; et pis c'est tout&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# lslv -l was61log
was61log:/opt/WebSphere61
PV                COPIES        IN BAND       DISTRIBUTION  
hdisk5            063:000:000   100%          000:063:000:000:000 
&lt;/pre&gt;


&lt;p&gt;Donc mon répertoire est sur le disk 5...&lt;/p&gt;


&lt;p&gt;Bon je suis sympa, il y a plus simple&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
# r=&amp;quot;/opt/WebSphere61&amp;quot;;for vg in $(lsvg); do a=$(lsvg -l $vg | awk -vrep=$r '($0 ~ rep){ print $1}'); [[ -z $a ]] || lslv -l $a;done
was61log:/opt/WebSphere61
PV                COPIES        IN BAND       DISTRIBUTION  
hdisk5            063:000:000   100%          000:063:000:000:000 
&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2011/07/20/Comment-d%C3%A9terminer-un-disque-en-partant-d-un-r%C3%A9pertoire-sur-AIX#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/07/20/Comment-d%C3%A9terminer-un-disque-en-partant-d-un-r%C3%A9pertoire-sur-AIX#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/36</wfw:commentRss>
      </item>
    
  <item>
    <title>Le shell pour tout expliquer : World Supremacy - Draw Game</title>
    <link>http://dev.flyou.net/post/2011/05/07/Le-shell-pour-tout-expliquer-%3A-World-Supremacy-Draw-Game</link>
    <guid isPermaLink="false">urn:md5:e70228cc57a3612864ccae21cff703e8</guid>
    <pubDate>Sat, 07 May 2011 02:08:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Informations</category>
            
    <description>    &lt;p&gt;Le shell permet de quasiment tout faire&amp;nbsp;; pourquoi ne pas tout expliquer par le Shell&amp;nbsp;:&lt;/p&gt;


&lt;pre&gt;everybody@worldsupremacy$ ssh laden@home
laden@home$ sudo mv kamikz /home/usa
Password:
laden@home$ ssh kamikz@usa
kamikz@usa$ mv /home/usa/planes /home/usa/worldTrade/center
kamikz@usa$ rm -rf /home/usa/worldTrade
kamikz@usa$ logout
laden@home$ logout
everybody@worldsupremacy$ ssh usa@home
usa@home$ locate laden
usa@home$ ssh usa@irak &quot;find /home -name laden&quot;
usa@home$ ssh usa@afganistan &quot;find /home -name laden&quot;
usa@home$ ssh usa@pakistan  &quot;find /home -name laden&quot;
usa@pakistan's password:
find: &quot;/home&quot;: Permission denied
usa@home$ ssh seals@pakistan
seals@pakistan's password:
Permission denied, please try again.
seals@pakistan's password: 
Permission denied, please try again.
seals@pakistan's password: 
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
usa@home$ ssh seals@pakistanBackDoor
ssh: connect to host pakistanBackDoor port 22: Connection refused
usa@home$ cat operation.txt
 + Operation Neptune's Spear
 + Kill  Geronimo
 + Take photos
 + Be nice
usa@home$ grep -i way /etc/services | grep spear
spearway	2440/udp    # Spearway Lockers
spearway	2440/tcp    # Spearway Lockers
usa@home$ ssh -p 2440 -R3615:localhost:22 seals@pakistanBackDoor
seals@pakistanBackDoor's password:
seals@pakistanBackDoor$ cd /bin
seals@pakistanBackDoor$ killall -TERM laden
seals@pakistanBackDoor$ import -window root bin_laden_ScreenHeadShot.png
seals@pakistanBackDoor$ scp -P3615 bin_laden_ScreenHeadShot.png usa@localhost:
usa@localhost's password:
seals@pakistanBackDoor$ mv /bin/laden /usr/games/fillets
seals@pakistanBackDoor$ ln -s /usr/games/fillets /usr/games/fishFilletsNG
seals@pakistanBackDoor$ logout
usa@home$ scp usa@pakistan:./bin_laden_ScreenHeadShot.png /dev/null
usa@pakistan's password: 
everybody@worldsupremacy$ logout&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2011/05/07/Le-shell-pour-tout-expliquer-%3A-World-Supremacy-Draw-Game#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/05/07/Le-shell-pour-tout-expliquer-%3A-World-Supremacy-Draw-Game#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/34</wfw:commentRss>
      </item>
    
  <item>
    <title>Petite note pour plus tard (FCGI + Dotclear)</title>
    <link>http://dev.flyou.net/post/2011/05/04/Petite-note-pour-plus-tard-%28FCGI-Dotclear%29</link>
    <guid isPermaLink="false">urn:md5:1eba79ccf8d42e0c154a3fffeb8dc991</guid>
    <pubDate>Wed, 04 May 2011 23:58:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Informations</category>
        <category>Dotclear</category><category>PHP</category>    
    <description>    &lt;p&gt;Après mettre rendu compte que les billets ne fonctionnaient plus (ça doit faire plusieurs mois que ça ne fonctionne plus), il semble acquis qu'un problème lié à FastCGI + mod_rewrite existe, aussi la méthode la plus simple est de ne pas l'utiliser, car même la méthode d'ajouter un&amp;nbsp;? ne fonctionne pas partout...&lt;/p&gt;


&lt;p&gt;Si ce n'est pas clair, ce n'est pas grave c'est personnel, pour plus tard...&lt;/p&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2011/05/04/Petite-note-pour-plus-tard-%28FCGI-Dotclear%29#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/05/04/Petite-note-pour-plus-tard-%28FCGI-Dotclear%29#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/33</wfw:commentRss>
      </item>
    
  <item>
    <title>Lire une page de man (non installée) en local (sur AIX)</title>
    <link>http://dev.flyou.net/post/2011/05/04/Lire-une-page-de-man-%28non-install%C3%A9e%29-en-local-%28sur-AIX%29</link>
    <guid isPermaLink="false">urn:md5:3060c6399d71c9e9286ffaa220024d8c</guid>
    <pubDate>Wed, 04 May 2011 11:25:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Informations</category>
        <category>AIX</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Bon comme sur AIX, je me trimballe du Bash 3.0, autant dire que le &quot;parameter expansion&quot; est quasi inexistant. Donc quand on a pas le droit d'installer un Bash 4, on le colle dans un répertoire quelconque. Oui mais pour lire la page de man qui n'est pas installée&amp;nbsp;?&lt;/p&gt;


&lt;pre&gt;man -m -M ../myAIXBash4/opt/freeware/man/ bash&lt;/pre&gt;


&lt;pre&gt;-M PATH pour indiquer le path de la page de man. On ne met surtout pas : ../myAIXBash4/opt/freeware/man/man1/ !
-m pour ne chercher que dans le path indiqué par le -M
la page cherchée&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2011/05/04/Lire-une-page-de-man-%28non-install%C3%A9e%29-en-local-%28sur-AIX%29#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2011/05/04/Lire-une-page-de-man-%28non-install%C3%A9e%29-en-local-%28sur-AIX%29#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/32</wfw:commentRss>
      </item>
    
  <item>
    <title>Reminder : Conversion ISO-8859-1 vers UTF-8</title>
    <link>http://dev.flyou.net/post/2010/07/29/Reminder-%3A-Conversion-ISO-8859-1-vers-UTF-8</link>
    <guid isPermaLink="false">urn:md5:188c48e136c4bc951877869550bb0e72</guid>
    <pubDate>Thu, 29 Jul 2010 16:35:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Documentations</category>
        <category>Command line</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Pour ne pas me poser la question chaque fois&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;iconv -f iso-8859-1 -t UTF-8 &amp;lt; monfichier.8859 &amp;gt; monfichier.utf8&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2010/07/29/Reminder-%3A-Conversion-ISO-8859-1-vers-UTF-8#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/07/29/Reminder-%3A-Conversion-ISO-8859-1-vers-UTF-8#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/30</wfw:commentRss>
      </item>
    
  <item>
    <title>TaskFreak ! v0.6.3b (unofficial)</title>
    <link>http://dev.flyou.net/post/2010/06/07/TaskFreak-%21-v0.6.3b-%28unofficial%29</link>
    <guid isPermaLink="false">urn:md5:5822134a98e512080b94c5c3624e2c62</guid>
    <pubDate>Mon, 07 Jun 2010 23:31:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
            
    <description>&lt;p&gt;&lt;a href=&quot;http://www.taskfreak.com&quot; hreflang=&quot;en&quot;&gt;TaskFreak !&lt;/a&gt; is a &lt;acronym&gt;PHP&lt;/acronym&gt; tools to manage your Todo list. Based on the v0.6.3 &lt;em&gt;multi&lt;/em&gt;, here is my modified version.&lt;/p&gt;


&lt;h4&gt;What's added ?&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;the Plugin manager : with a little modification to avoid it to look into subversion subdirectories,&lt;/li&gt;
&lt;li&gt;the 99% task finished : instead of closing a task, you have to raise the 99% percent level to close task,&lt;/li&gt;
&lt;li&gt;the id an requester column,&lt;/li&gt;
&lt;li&gt;the File transfer plugin,&lt;/li&gt;
&lt;li&gt;EmailNotify : email when a task is created, modified, deleted, closed,&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://dev.flyou.net/post/2010/05/20/dueTasks.php-v0.01-for-TaskFreak-%21&quot; hreflang=&quot;en&quot;&gt;dueTasks&lt;/a&gt; : email when a task is due,&lt;/li&gt;
&lt;li&gt;the Deadline updater plugin with a little modification (it sends an email when date is changed),&lt;/li&gt;
&lt;li&gt;the beginning of the implementation of a backup user (not finished yet),&lt;/li&gt;
&lt;li&gt;when a task is Priority 1, you cannot miss it,&lt;/li&gt;
&lt;li&gt;some informations in the header,&lt;/li&gt;
&lt;li&gt;1 or 2 modifications in the redfreak template,&lt;/li&gt;
&lt;li&gt;you can search an ID of task,&lt;/li&gt;
&lt;li&gt;there is some help,&lt;/li&gt;
&lt;li&gt;and maybe I forget 1 or 2 things.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;And after what ?&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;svn co http://code.flyou.net/webDev/taskfreak_multi/trunk&lt;/code&gt;&lt;br /&gt;
&lt;del&gt;&lt;strong&gt;Update 09/06/2010 : I'd to restrict access to the svn, due to my mistake. I added a config file with live informations...&lt;/strong&gt;&lt;/del&gt;&lt;br /&gt;
&lt;del&gt;So, &lt;code&gt;svn&lt;/code&gt; close until i correct the problem...&lt;/del&gt;
&lt;br /&gt;Ok &lt;code&gt;svn&lt;/code&gt; is reopen.&lt;/p&gt;    &lt;h4&gt;HowTo install this script:&lt;a name=&quot;HowTo&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;Backup your directory, uncompress the archive and update the config file.&lt;br /&gt;
If you need to update the database, check the file &lt;code&gt;doc/database_structure.txt&lt;/code&gt;.&lt;/p&gt;


&lt;h4&gt;Files are :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;taskfreak-0.6.3b-Fly.tar.bz2&lt;/code&gt; : Archive in the bzip2 format,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;taskfreak-0.6.3b-Fly.tar.gz&lt;/code&gt; : Archive in the gzip format,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;taskfreak-0.6.3b-Fly.zip&lt;/code&gt; : Archive in the zip format,&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;MD5 files :&lt;a name=&quot;Md5List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;fa926f21be85939d8c39285d3f9a9e3c  taskfreak-0.6.3b-Fly.tar.bz2
81114e0590ad6ca87ff91f7a574f412b  taskfreak-0.6.3b-Fly.tar.gz
e7bc8ae507ff8c72b0bbb24b4df4ceb1  taskfreak-0.6.3b-Fly.zip&lt;/pre&gt;


&lt;h4&gt;Sha1 files :&lt;a name=&quot;Sha1List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;ff195a6bff6276f08fefed1292b04ef7d1aab1e3  taskfreak-0.6.3b-Fly.tar.bz2
65f86eef728ee2abb067a1e5ab6b9b8766013f19  taskfreak-0.6.3b-Fly.tar.gz
cf6907c97f74486eb8526e0b1411bd8390306e39  taskfreak-0.6.3b-Fly.zip&lt;/pre&gt;


&lt;h4&gt;Licenses:&lt;a name=&quot;Licenses&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; hreflang=&quot;en&quot;&gt;GPLv3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://dssl.flyounet.net/licenses&quot; hreflang=&quot;fr&quot;&gt;DSSLv1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
          <enclosure url="http://dev.flyou.net/public/TaskFreak/taskfreak-0.6.3b-Fly.tar.bz2"
      length="790313" type="application/x-bzip" />
          <enclosure url="http://dev.flyou.net/public/TaskFreak/taskfreak-0.6.3b-Fly.tar.gz"
      length="886407" type="application/x-gzip" />
          <enclosure url="http://dev.flyou.net/public/TaskFreak/taskfreak-0.6.3b-Fly.zip"
      length="1255724" type="application/zip" />
    
    
          <comments>http://dev.flyou.net/post/2010/06/07/TaskFreak-%21-v0.6.3b-%28unofficial%29#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/06/07/TaskFreak-%21-v0.6.3b-%28unofficial%29#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/29</wfw:commentRss>
      </item>
    
  <item>
    <title>Quel est le meilleur moyen pour savoir le nom d'un fichier pointé par un lien ?</title>
    <link>http://dev.flyou.net/post/2010/05/27/Quel-est-le-meilleur-moyen-pour-savoir-le-nom-d-un-fichier-point%C3%A9-par-un-lien</link>
    <guid isPermaLink="false">urn:md5:11a558b4cec36ada3f7b317536eafedb</guid>
    <pubDate>Thu, 27 May 2010 23:54:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Documentations</category>
        <category>bash</category><category>ksh</category><category>Linux</category><category>Script</category><category>Shell</category><category>ssh</category><category>Unix</category>    
    <description>    &lt;p&gt;Vaste question qui ne me semble reposer que sur 3 réponses&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;L'utilisation de &lt;code&gt;stat&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;L'utilisation de &lt;code&gt;file&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;L'utilisation de &lt;code&gt;readlink&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;Utilisons &lt;code&gt;stat&lt;/code&gt; :&lt;a name=&quot;stat&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;fly@Capote:~/tmp$ stat /tmp/totoz
  File: `/tmp/totoz' -&amp;gt; `/tmp/pipo'
  Size: 40        	Blocks: 0          IO Block: 4096   lien symbolique
Device: 808h/2056d	Inode: 3744        Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1000/     fly)   Gid: ( 1000/     fly)
Access: 2010-05-27 23:42:00.590730266 +0200
Modify: 2010-05-26 23:34:46.978029853 +0200
Change: 2010-05-26 23:34:46.978029853 +0200&lt;/pre&gt;

&lt;p&gt;On constate que le nom du &lt;em&gt;fichier&lt;/em&gt; pointé est indiqué en première ligne. Donc, la ligne suivante devrait suffire&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;fly@Capote:~/tmp$ a=&quot;$(stat /tmp/totoz | head -1 | awk '{print $NF}')&quot; ; echo ${a}
`/tmp/pipo'&lt;/pre&gt;

&lt;p&gt;C'est bien mais pas top avec les &lt;em&gt;quotes&lt;/em&gt;, d'où l'astuce suivante&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;fly@Capote:~/tmp$ i=${#a}; echo ${a:1:(($i-2))}
/tmp/pipo&lt;/pre&gt;


&lt;h5&gt;Utilisons &lt;code&gt;file&lt;/code&gt; :&lt;a name=&quot;file&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;fly@mst:~/tmp$ file /tmp/totoz
/tmp/totoz: symbolic link to `/tmp/pipo'&lt;/pre&gt;

&lt;p&gt;On constate maintenant qu'une seule ligne est retournée, mais il y a toujours ce problème de &lt;em&gt;quotes&lt;/em&gt;. Donc, on résout de la même manière&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;fly@mst:~/tmp$ a=&quot;$(stat /tmp/totoz | awk '{print $NF}')&quot; ; echo ${a}
`/tmp/pipo'
fly@mst:~/tmp$ i=${#a}; echo ${a:1:(($i-2))}
/tmp/pipo&lt;/pre&gt;


&lt;h5&gt;Utilisons &lt;code&gt;readlink&lt;/code&gt; :&lt;a name=&quot;readlink&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;fly@Capote:~/tmp$ readlink /tmp/totoz
/tmp/pipo&lt;/pre&gt;

&lt;p&gt;Bon, ben voilà; finalement je le préfère ce petit &lt;code&gt;readlink&lt;/code&gt; (et de loin)...&lt;/p&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2010/05/27/Quel-est-le-meilleur-moyen-pour-savoir-le-nom-d-un-fichier-point%C3%A9-par-un-lien#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/05/27/Quel-est-le-meilleur-moyen-pour-savoir-le-nom-d-un-fichier-point%C3%A9-par-un-lien#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/28</wfw:commentRss>
      </item>
    
  <item>
    <title>DSSLv1 : Demerden Sie Sich License</title>
    <link>http://dev.flyou.net/post/2010/05/20/DSSLv1-%3A-Demerden-Sie-Sich-License</link>
    <guid isPermaLink="false">urn:md5:651065a4a94c9da161d77e58e1cd50e1</guid>
    <pubDate>Thu, 20 May 2010 13:09:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Documentations</category>
        <category>Demerden Sie Sich License</category><category>DSSL</category>    
    <description>    &lt;p&gt;Ça y est, j'ai enfin publié ma &lt;a href=&quot;http://dssl.flyounet.net/licenses/&quot; hreflang=&quot;fr&quot; title=&quot;Licence DSSLv1&quot;&gt;version 1&lt;/a&gt; de la &lt;acronym title=&quot;Dermerden Sie Sich License&quot;&gt;DSSL&lt;/acronym&gt;. j'en ai profité pour la déclarer sur le site &lt;a href=&quot;http://linuxfr.org&quot; hreflang=&quot;fr&quot;&gt;LinuxFR&lt;/a&gt; en tant que &lt;a href=&quot;https://linuxfr.org/~Flyounet/29741.html&quot; hreflang=&quot;fr&quot;&gt;journal&lt;/a&gt; (Voir le journal ci-dessous).&lt;/p&gt;


&lt;h4&gt;A quoi sert cette Licence&amp;nbsp;?&lt;/h4&gt;

&lt;p&gt;Lisez la, et vous saurez.&lt;/p&gt;


&lt;h4&gt;Pourquoi cette Licence&amp;nbsp;?&lt;/h4&gt;

&lt;p&gt;Mais parce que j'en ai marre que l'on pose ce genre de question&amp;nbsp;! Lisez la Licence et &lt;strong&gt;Démerdez-vous&lt;/strong&gt;.&lt;/p&gt;


&lt;h4&gt;Le journal&amp;nbsp;:&lt;/h4&gt;

&lt;blockquote&gt;&lt;p&gt;Pour le boulot, j'ai régulièrement des collègues qui ne se posent même pas la question de savoir ce qu'un bout de code contient, ou plutôt que de lire une documentation m'assoiffent à me poser tout un tas de questions auxquelles j'ai déjà répondu dans la-dite documentation.&lt;/p&gt;
&lt;p&gt;
Aussi, après maintes recherches, je n'ai pas trouvé de Licence (rédigée) qui correspondrait. Même si la RTFM Licence m'aurait tentée, elle était trop succincte&amp;nbsp;; juste 5 mots.&lt;br /&gt;
Donc, pour ma propre cause, J'ai décidé de passer tout mon boulot sous DSSL et d'en rédiger les termes qui sont maintenant accessibles à l'adresse suivante&amp;nbsp;: [&lt;a href=&quot;http://dssl.flyounet.net/licenses/&quot; title=&quot;http://dssl.flyounet.net/licenses/&quot;&gt;http://dssl.flyounet.net/licenses/&lt;/a&gt;]&lt;/p&gt;
&lt;p&gt;
Je pense l'avoir suffisamment corrigée pour qu'elle puisse être librement utilisée. La licence DSSL étant soumise à elle même, tirez-en les conclusions qui s'imposent.&lt;/p&gt;&lt;/blockquote&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2010/05/20/DSSLv1-%3A-Demerden-Sie-Sich-License#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/05/20/DSSLv1-%3A-Demerden-Sie-Sich-License#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/27</wfw:commentRss>
      </item>
    
  <item>
    <title>dueTasks.php v0.01 for TaskFreak !</title>
    <link>http://dev.flyou.net/post/2010/05/20/dueTasks.php-v0.01-for-TaskFreak-%21</link>
    <guid isPermaLink="false">urn:md5:f6e9bbba3d342fe68c6e35309562f644</guid>
    <pubDate>Thu, 20 May 2010 11:04:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>PHP</category><category>Script</category><category>TaskFreak!</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://www.taskfreak.com&quot; hreflang=&quot;en&quot;&gt;TaskFreak !&lt;/a&gt; is a &lt;acronym&gt;PHP&lt;/acronym&gt; tools to manage your Todo list. Written by Stan Ozier the v0.62/v0.63 lacks a tool to send email for due tasks. Here is my little contribution.&lt;/p&gt;


&lt;p&gt;Please note, it has only be tested with the &lt;em&gt;multi&lt;/em&gt; version (not the &lt;em&gt;single&lt;/em&gt;).&lt;/p&gt;    &lt;h4&gt;HowTo install this script:&lt;a name=&quot;HowTo&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;Simply copy the file directly into the directory containing your &lt;a href=&quot;http://www.taskfreak.com&quot; hreflang=&quot;en&quot;&gt;TaskFreak !&lt;/a&gt;
directory.&lt;/p&gt;


&lt;h4&gt;Files are :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;dueTasks.php&lt;/code&gt; : The file (have a look on &lt;a href=&quot;http://dev.flyou.net/public/TaskFreak/dueTasks/v0.01/dueTasks.phps&quot;&gt;it&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;MD5 files :&lt;a name=&quot;Md5List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;d5b1c1e1e713b61a9bd111f5223d43e5  dueTasks.php&lt;/pre&gt;


&lt;h4&gt;Sha1 files :&lt;a name=&quot;Sha1List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;2c6e6e58a80494b46d3bc930c96ebdecad75d462  dueTasks.php&lt;/pre&gt;


&lt;h4&gt;Licenses:&lt;a name=&quot;Licenses&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; hreflang=&quot;en&quot;&gt;GPLv3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://dssl.flyounet.net/licenses&quot; hreflang=&quot;fr&quot;&gt;DSSLv1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
          <enclosure url="http://dev.flyou.net/public/TaskFreak/dueTasks/v0.01/dueTasks.php"
      length="8771" type="text/plain" />
    
    
          <comments>http://dev.flyou.net/post/2010/05/20/dueTasks.php-v0.01-for-TaskFreak-%21#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/05/20/dueTasks.php-v0.01-for-TaskFreak-%21#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/26</wfw:commentRss>
      </item>
    
  <item>
    <title>Java problem with FreePlane on Ubuntu 9.10 Karmic</title>
    <link>http://dev.flyou.net/post/2010/05/06/Java-problem-with-FreePlane-on-Ubuntu-9.10-Karmic</link>
    <guid isPermaLink="false">urn:md5:6125f6dc4056f95b1a8d27f13bd7f79c</guid>
    <pubDate>Thu, 06 May 2010 14:02:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Informations</category>
        <category>Linux</category>    
    <description>    &lt;p&gt;If you have such a problem &lt;code&gt;ERROR:   Your Java is not a derivative from Sun's code&lt;/code&gt; when starting &lt;a href=&quot;http://freeplane.sourceforge.net&quot; hreflang=&quot;en&quot;&gt;FreePlane&lt;/a&gt; (or &lt;a href=&quot;http://freemind.sourceforge.net&quot; hreflang=&quot;en&quot;&gt;FreeMind&lt;/a&gt;), correct your java with the command :&lt;/p&gt;

&lt;pre&gt;/usr/sbin/update-alternatives --config java&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2010/05/06/Java-problem-with-FreePlane-on-Ubuntu-9.10-Karmic#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/05/06/Java-problem-with-FreePlane-on-Ubuntu-9.10-Karmic#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/25</wfw:commentRss>
      </item>
    
  <item>
    <title>F01common.lib v0.28</title>
    <link>http://dev.flyou.net/post/2010/05/03/F01common.lib-v0.28</link>
    <guid isPermaLink="false">urn:md5:36df6dad5e231dee988d2ac43182277f</guid>
    <pubDate>Mon, 03 May 2010 17:58:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>F01common.lib</category><category>ksh</category><category>Linux</category><category>Script</category><category>Shell</category><category>Unix</category>    
    <description>&lt;p&gt;Because I need it, I implement the &lt;code&gt;statusBar&lt;/code&gt; &lt;a href=&quot;http://dev.flyou.net/post/2010/05/03/F01common.lib-v0.28#FunctionList&quot; hreflang=&quot;en&quot;&gt;function&lt;/a&gt;.
&lt;a href=&quot;http://dev.flyou.net/public/F01common.lib/v0.28/doc/F01_statusBar_01.png&quot; title=&quot;Test statusBar 01&quot;&gt;&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.28/doc/.F01_statusBar_01_m.jpg&quot; alt=&quot;Test statusBar 01&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Test statusBar 01, mai 2010&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://dev.flyou.net/public/F01common.lib/v0.28/doc/F01_statusBar_02.png&quot; title=&quot;Test statusBar 02&quot;&gt;&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.28/doc/.F01_statusBar_02_m.jpg&quot; alt=&quot;Test statusBar 02&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Test statusBar 02, mai 2010&quot; /&gt;&lt;/a&gt;
I tested with KSH and Bash and it seems to work with both.&lt;/p&gt;


&lt;h4&gt;Changelog :&lt;a name=&quot;ChangeLog&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;+ statusBar : generate the informations to have a status bar.
   eg. 0%....5%....10%.... and so on until 100%&lt;/pre&gt;    &lt;h4&gt;Variables &amp;amp; Functions diagram :&lt;a name=&quot;Schema&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.28/doc/.common.lib_m.jpg&quot; alt=&quot;common.lib.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Liste des variables et fonctions&quot; /&gt;&lt;/p&gt;


&lt;h4&gt;Files are :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.28.tar.bz2&lt;/code&gt;&amp;nbsp;: L'archive qui contient tous les fichiers,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib.README&lt;/code&gt;&amp;nbsp;: Une micro documentation,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib&lt;/code&gt;&amp;nbsp;: La librairie Shell,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;_common4bash.lib&lt;/code&gt;&amp;nbsp;: L'extension pour Bash de la fonction &lt;code&gt;textBox()&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.mm&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier Free(Mind|Plane),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.png&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier image,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/libHelp.sh&lt;/code&gt;&amp;nbsp;: Un script de test qui retourne de l'aide sur les fonctions,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.conf&lt;/code&gt;&amp;nbsp;: Un fichier de configuration pour exécuter le script de test,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.sh&lt;/code&gt;&amp;nbsp;: Un script de test, qui exécute quasiment toutes les fonctions de la librairie.&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;MD5 files :&lt;a name=&quot;Md5List&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;9fa4b288ecc8e77c4fc34e712191c738  _common4bash.lib
a8483e625e5218b308230f6a1cbf3ef9  common.lib
da48aa769eb642b15683dddf9df6b09c  common.lib.README
c1d1416cd585ba0bb4f676571a8d16c9  doc/common.lib.mm
92071c09cb37d37bcc2669d5d4461fae  doc/common.lib.png
d04d3958e604ffdd69d5387d6c95110f  test/libHelp.sh
727d5784f66d1a3f73c60e6179e97ca0  test/test_common-lib.conf
f69437db303a6cda03f7964dc007bd68  test/test_common-lib.sh
8f4700e95ca3f8d1aa6e6e25a23bb194  F01common.lib_v0.28.tar.bz2&lt;/pre&gt;


&lt;h5&gt;Sha1 files :&lt;a name=&quot;Sha1List&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;c525977312841d164ff589621fed70310b23b9c9  _common4bash.lib
868d379be8e4d22618d9714fe736ebb7d2426216  common.lib
33a81e3d04be359c60b2b9b7c67d918881415e1c  common.lib.README
eae8091cc12cd768d00f827f893ac2284367144c  doc/common.lib.mm
fb5379fb12394a4094e98b70bf2a99986db0ea64  doc/common.lib.png
f8f1bf4afb8e54ec122f5f6e67a8a0bba72e98c8  test/libHelp.sh
c21039c426cf47f9c9e0cc6c36e67c6e458e1978  test/test_common-lib.conf
6494f41cfde70c9fc6a811c0e316ad864492a232  test/test_common-lib.sh
772236b0435bcc54ea812eecd879ea2b009efec2  F01common.lib_v0.28.tar.bz2&lt;/pre&gt;


&lt;h4&gt;Function list :&lt;a name=&quot;FunctionList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;Have a look in the &lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#FunctionList&quot; hreflang=&quot;fr&quot;&gt;previous note&lt;/a&gt; (related to version &lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26&quot;&gt;v0.26&lt;/a&gt;)&lt;/p&gt;

&lt;pre&gt;#F01.25.02
#Function : statusBar, Print (or return) datas to make a status bar&lt;/pre&gt;</description>
    
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/_common4bash.lib"
      length="6959" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/common.lib"
      length="32439" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/common.lib.README"
      length="2104" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/F01common.lib_v0.28.tar.bz2"
      length="78439" type="application/x-bzip" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/doc/common.lib.mm"
      length="18805" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/doc/common.lib.png"
      length="60706" type="image/png" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/test/libHelp.sh"
      length="5716" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/test/test_common-lib.conf"
      length="981" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.28/test/test_common-lib.sh"
      length="13592" type="text/plain" />
    
    
          <comments>http://dev.flyou.net/post/2010/05/03/F01common.lib-v0.28#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/05/03/F01common.lib-v0.28#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/24</wfw:commentRss>
      </item>
    
  <item>
    <title>bashColors.sh v0.03</title>
    <link>http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03</link>
    <guid isPermaLink="false">urn:md5:77e11df1dfe29647677136afa90ec942</guid>
    <pubDate>Thu, 29 Apr 2010 00:14:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>bashColors.sh</category><category>ksh</category><category>Script</category><category>Shell</category><category>Unix</category>    
    <description>&lt;h4&gt;Purpose :&lt;a name=&quot;Purpose&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;As I am writting more &lt;a href=&quot;http://dev.flyou.net/tag/Shell&quot;&gt;Shell&lt;/a&gt; code every day. I often need to use color to show to my users the huge mistake they're trying to put with my Shell script&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#pnote-23-1&quot; id=&quot;rev-pnote-23-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt;&lt;br /&gt;
As my wife calls me &lt;em&gt;Red Fish&lt;/em&gt;&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#pnote-23-2&quot; id=&quot;rev-pnote-23-2&quot;&gt;2&lt;/a&gt;]&lt;/sup&gt;, I rarely figure what is the reference for Shell colors. That's why I made this little &lt;a href=&quot;http://dev.flyou.net/tag/Script&quot;&gt;Script&lt;/a&gt;.&lt;/p&gt;


&lt;h4&gt;Changelog :&lt;a name=&quot;ChangeLog&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;v0.01 [30/03/2010] Flyounet  [@Home] :
      &amp;gt; Initiale Release
      &amp;gt; Prerequisites : F01 common.lib (at least v0.24)
v0.02 [21/04/2010] Flyounet  [@Home] :
      &amp;gt; Now Under &lt;a href=&quot;http://dssl.flyounet.net/&quot; hreflang=&quot;fr&quot; title=&quot;Demerden Sie Sich Licence&quot;&gt;DSSL&lt;/a&gt; &amp;amp; &lt;a href=&quot;http://www.gnu.org/licenses/&quot; hreflang=&quot;en&quot;&gt;GPLv3&lt;/a&gt;
      &amp;gt; set ts=4 ; set noai
      + Add information how to quit
      * When run with Ksh, it show errors about declare... Erased them &amp;amp;
        use typeset instead.
v0.03 [27/04/2010] Flyounet  [@Home] :
      + Added the work 'effect' in the rainbowTable function
      &amp;gt; Now use the &lt;a href=&quot;http://dev.flyou.net/tag/F01common.lib&quot;&gt;F01common.lib&lt;/a&gt; v0.27&lt;/pre&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#rev-pnote-23-1&quot; id=&quot;pnote-23-1&quot;&gt;1&lt;/a&gt;] It remembers me a newbie that wants to put his saves in &lt;code&gt;/dev/null&lt;/code&gt;, because he read on Internet, this folder compress incredibly everything. Don't laught ! I'm pretty sure everyone already met one of this people...&lt;/p&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#rev-pnote-23-2&quot; id=&quot;pnote-23-2&quot;&gt;2&lt;/a&gt;] I now know it's for my memory.&lt;/p&gt;&lt;/div&gt;
    &lt;h4&gt;Screenshots :&lt;a name=&quot;ScreenShots&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;The first flavour :
&lt;a href=&quot;http://dev.flyou.net/public/bashColors.sh/v0.03/bashColors_01.png&quot; title=&quot;bashColors.sh : Simple colors table&quot;&gt;&lt;img src=&quot;http://dev.flyou.net/public/bashColors.sh/v0.03/.bashColors_01_s.jpg&quot; alt=&quot;bashColors.sh : Simple colors table&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;bashColors.sh : Simple colors table, avr. 2010&quot; /&gt;&lt;/a&gt;
The second flavour:
&lt;a href=&quot;http://dev.flyou.net/public/bashColors.sh/v0.03/bashColors_02.png&quot; title=&quot;bashColors.sh : RainbowTable&quot;&gt;&lt;img src=&quot;http://dev.flyou.net/public/bashColors.sh/v0.03/.bashColors_02_s.jpg&quot; alt=&quot;bashColors.sh : RainbowTable&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;bashColors.sh : RainbowTable, avr. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h4&gt;Prerequisites :&lt;a name=&quot;PreRequisites&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;The &lt;a href=&quot;http://dev.flyou.net/tag/F01common.lib&quot;&gt;F01common.lib&lt;/a&gt; is required to execute the &lt;a href=&quot;http://dev.flyou.net/tag/bashColors.sh&quot;&gt;bashColors.sh&lt;/a&gt; script. This library need to be at least in version 0.24.&lt;/p&gt;


&lt;h4&gt;Files are :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;bashColors.sh_v0.03.tar.bz2&lt;/code&gt; : The archive which contains all files,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bashColors.sh&lt;/code&gt; : The script itself,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bashColors.sh.README&lt;/code&gt; : The complete documentation (but light),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prereqs/_common4bash.lib&lt;/code&gt; : The extension library for &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt;,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prereqs/common.lib&lt;/code&gt; : A library containing lot of function.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;MD5 files :&lt;a name=&quot;MD5List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;ee0b046b5a20bdb352401e16c7d8a86c  bashColors.sh
2bcd647284682fc577295e868f8e03d2  bashColors.sh.README
17b9c2eed07500fc618cff158d170185  prereqs/common.lib
9fa4b288ecc8e77c4fc34e712191c738  prereqs/_common4bash.lib
5a643a56f6facded12f81f6f0dd24fe7  bashColors.sh_v0.03.tar.bz2&lt;/pre&gt;


&lt;h4&gt;Sha1 files :&lt;a name=&quot;Mha1List&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt;62211e320b5a56631a10275c377acc9ff3e470b2  bashColors.sh
2988c08a5761c5850ddad2c231371f0d767f0feb  bashColors.sh.README
28e303ffca0d9e3d251c1322a34f09fd3099a30e  prereqs/common.lib
c525977312841d164ff589621fed70310b23b9c9  prereqs/_common4bash.lib
fc10789d9da69e0b95bd070a415421764f46c057  bashColors.sh_v0.03.tar.bz2&lt;/pre&gt;</description>
    
          <enclosure url="http://dev.flyou.net/public/bashColors.sh/v0.03/bashColors.sh"
      length="11691" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/bashColors.sh/v0.03/bashColors.sh.README"
      length="1780" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/bashColors.sh/v0.03/bashColors.sh_v0.03.tar.bz2"
      length="10544" type="application/x-bzip" />
          <enclosure url="http://dev.flyou.net/public/bashColors.sh/v0.03/prereqs/_common4bash.lib"
      length="6959" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/bashColors.sh/v0.03/prereqs/common.lib"
      length="29880" type="text/plain" />
    
    
          <comments>http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/04/29/bashColors.sh-v0.03#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/23</wfw:commentRss>
      </item>
    
  <item>
    <title>F01common.lib v0.27</title>
    <link>http://dev.flyou.net/post/2010/04/27/F01common.lib-v0.27</link>
    <guid isPermaLink="false">urn:md5:6dc23ccfe5b0af2d0e857e66807927e2</guid>
    <pubDate>Tue, 27 Apr 2010 14:00:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>F01common.lib</category><category>ksh</category><category>Linux</category><category>Script</category><category>Shell</category><category>Unix</category>    
    <description>&lt;p&gt;Due to lots of bugs in the &lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26&quot; hreflang=&quot;fr&quot;&gt;previous version&lt;/a&gt;, I'm happy to show you this one with I hope no bug inside.&lt;/p&gt;


&lt;p&gt;Nearly all tests have been done with &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;Ksh&lt;/a&gt;, and unfortunately I forget to test under &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt;, and that's the result... Sorry.&lt;/p&gt;


&lt;h4&gt;Changelog :&lt;a name=&quot;ChangeLog&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;pre&gt; &amp;gt; Problem with the &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt; version. If old &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;Bash&lt;/a&gt; is use BASH_SOURCE
   doesn't exist...
   Now looks for the files instead of trying to load it directly to
   avoid, error messages. Search in above and under directory.
 * F01Version return the path of the Bash extension.
 * trim : Huge bug ! Instead of unsetting __ltrim &amp;amp; __trim, i unsetted
   functions ltrim &amp;amp; rtrim...
 &amp;gt; ltrim &amp;amp; rtrim don't work under Bash ! ARGGGGGGGGGGGGG !!!!!
 * iniParseFile : In case of a line only containing a left var with
   incorrect character (like a dash -), the awk version sent an error
   to the output (and under &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;Ksh&lt;/a&gt; stops).
   Function has been rewritted purely in &lt;a href=&quot;http://dev.flyou.net/tag/Shell&quot;&gt;Shell&lt;/a&gt;...
 * sprintf : Problem under Bash. Bash doesn't support only one _ as a
   variable name : Corrected.
 * iniGetValue : Not use grep anymore. Only Shell !
 * fileCheck : Problem under Bash. Bash doesn't support only one _ as
   a variable name : Corrected.
 * logMe : Problem under Bash. Bash doesn't support only one _ as a
   variable name : Corrected.
 &amp;gt; Now only logRotate use non-shell programs !
 + myError : If none args then empty __lastError&lt;/pre&gt;    &lt;h4&gt;Variables &amp;amp; Functions diagram :&lt;a name=&quot;Schema&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.27/doc/.common.lib_m.jpg&quot; alt=&quot;common.lib.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Liste des variables et fonctions&quot; /&gt;&lt;/p&gt;


&lt;h4&gt;Files are :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.27.tar.bz2&lt;/code&gt; : L'archive qui contient tous les fichiers,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib.README&lt;/code&gt; : Une micro documentation,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib&lt;/code&gt; : La librairie Shell,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;_common4bash.lib&lt;/code&gt; : L'extension pour Bash de la fonction &lt;code&gt;textBox()&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.mm&lt;/code&gt; : La liste de fonctions et variables sous forme de fichier Free(Mind|Plane),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.png&lt;/code&gt; : La liste de fonctions et variables sous forme de fichier image,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/libHelp.sh&lt;/code&gt; : Un script de test qui retourne de l'aide sur les fonctions,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.conf&lt;/code&gt; : Un fichier de configuration pour exécuter le script de test,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.sh&lt;/code&gt; : Un script de test, qui exécute quasiment toutes les fonctions de la librairie.&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;MD5 files :&lt;a name=&quot;Md5List&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;d04d3958e604ffdd69d5387d6c95110f  test/libHelp.sh
727d5784f66d1a3f73c60e6179e97ca0  test/test_common-lib.conf
cef5238682be487c62fd55f9054321fb  test/test_common-lib.sh
16e92798581ba2f57b82dbdfdbb60645  doc/common.lib.png
882c79e3ff9b15510f6fc457aef94b8d  doc/common.lib.mm
9fa4b288ecc8e77c4fc34e712191c738  _common4bash.lib
faa364482cbf69235561956c2b14f464  common.lib.README
e72679facbec1adc7bd938e7d01d3b53  common.lib
68ce26b91ce97f5b521c96289718e286  F01common.lib_v0.27.tar.bz2&lt;/pre&gt;


&lt;h5&gt;Sha1 files :&lt;a name=&quot;Sha1List&quot;&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;pre&gt;f8f1bf4afb8e54ec122f5f6e67a8a0bba72e98c8  test/libHelp.sh
c21039c426cf47f9c9e0cc6c36e67c6e458e1978  test/test_common-lib.conf
d47f2071c31cf653019e3c9b92fd1bde4503c21d  test/test_common-lib.sh
1abdfbf61ef8f0b003e990c4145dd3be675c1936  doc/common.lib.png
43f7a0673984fc8653cc4469d5a9a28229955d85  doc/common.lib.mm
c525977312841d164ff589621fed70310b23b9c9  _common4bash.lib
d4c8767c77a60dfa2fb97872f22b9030beb6844f  common.lib.README
2eaf7218008d8ac5588598bf5093301dfb21e8c5  common.lib
b6e842358c2461118b696696ee24f49e9afb7910  F01common.lib_v0.27.tar.bz2&lt;/pre&gt;


&lt;h4&gt;Function list :&lt;a name=&quot;FunctionList&quot;&gt;&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;Have a look in the &lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#FunctionList&quot; hreflang=&quot;fr&quot;&gt;previous note&lt;/a&gt; (related to version &lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26&quot;&gt;v0.26&lt;/a&gt;)&lt;/p&gt;</description>
    
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/_common4bash.lib"
      length="6959" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/common.lib"
      length="29878" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/common.lib.README"
      length="2095" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/doc/common.lib.mm"
      length="16998" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/doc/common.lib.png"
      length="53294" type="image/png" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/test/libHelp.sh"
      length="5716" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/test/test_common-lib.conf"
      length="981" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/test/test_common-lib.sh"
      length="12208" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.27/F01common.lib_v0.27.tar.bz2"
      length="69897" type="application/x-bzip" />
    
    
          <comments>http://dev.flyou.net/post/2010/04/27/F01common.lib-v0.27#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/04/27/F01common.lib-v0.27#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/22</wfw:commentRss>
      </item>
    
  <item>
    <title>F01common.lib v0.26</title>
    <link>http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26</link>
    <guid isPermaLink="false">urn:md5:3be75f99c70206f5c01a7362f93023ab</guid>
    <pubDate>Thu, 22 Apr 2010 21:21:00 +0200</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>F01common.lib</category><category>ksh</category><category>Linux</category><category>Script</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;J'ai oublié de publier les précédentes versions, aussi je vous présente cette nouvelle version.&lt;/p&gt;


&lt;p&gt;Après pas mal de boulot, il ne reste plus que la fonction &lt;code&gt;iniParseFile&lt;/code&gt; qui continue d'utiliser &lt;code&gt;awk&lt;/code&gt;, sinon tout le reste n'utilise plus que le Shell avec lequel il a été exécuté.&lt;br /&gt;
Et j'en ai profité pour passer le code sous GPLv3 et &lt;acronym title=&quot;Demerden Sie Sich License&quot;&gt;DSSL&lt;/acronym&gt; (disponible &lt;a href=&quot;http://dssl.flyounet.net/licenses&quot; hreflang=&quot;fr&quot;&gt;là&lt;/a&gt;).&lt;/p&gt;


&lt;p&gt;L'incontournable Changelog :&lt;a name=&quot;ChangeLog&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt; v0.23 [30/01/2010] Flyounet  [@Home] :
       * fileCreate: In case of error during touch an ugly message is now
         sent to /dev/null (for chmod too)
 v0.24 [03/03/2010] Flyounet  [@Home] :
       &amp;gt; First svn version
 v0.25 [01/04/2010] Flyounet  [@Home] :
       + textFill: equivalent to perl &quot;string&quot; x number
       + textBox: put a caracter all around a text
       * textBox: not working with KSH
       + _str2lower &amp;amp; _str2upper have been added, cause to KSH that doesn't
         support Case modification of Bash.
       * textBox: now use _str2*er and work with KSH
       * iniGetValue: Remove the call to awk (Yeah ! Love shell !)
 v0.26 [22/04/2010] Flyounet  [@Home] :
       + parseHeadersForHelp: Print the headers of each function in a file.
         Headers are based on a first line containing a #F??.
       &amp;gt; textBox: Only works with KSH... Fuck !
       * textBox: A subfile is needed to make it works with bash.&lt;/pre&gt;



&lt;p&gt;J'ai tenté de la rendre la plus indépendante possible de &lt;code&gt;sed&lt;/code&gt; et &lt;code&gt;awk&lt;/code&gt; qui sont assez incontournable&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#pnote-21-1&quot; id=&quot;rev-pnote-21-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt;. Elle fonctionne sous &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;bash&lt;/a&gt; ou &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;ksh&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Ci-dessous un aperçu des variables et fonctions :&lt;a name=&quot;Schema&quot;&gt;&lt;/a&gt;
&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.26/doc/.common.lib_m.jpg&quot; alt=&quot;common.lib.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Liste des variables et fonctions&quot; /&gt;&lt;/p&gt;


&lt;p&gt;En annexes sont fournis les fichiers indépendants, ainsi qu'une archive regroupant le tout.&lt;br /&gt;
Les fichiers sont :&lt;a name=&quot;FileList&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.26.tar.bz2&lt;/code&gt;&amp;nbsp;: L'archive qui contient tous les fichiers,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib.README&lt;/code&gt;&amp;nbsp;: Une micro documentation,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib&lt;/code&gt;&amp;nbsp;: La librairie Shell,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;_common4bash.lib&lt;/code&gt;&amp;nbsp;: L'extension pour Bash de la fonction &lt;code&gt;textBox()&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.mm&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier Free(Mind|Plane),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;doc/common.lib.png&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier image,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/libHelp.sh&lt;/code&gt;&amp;nbsp;: Un script de test qui retourne de l'aide sur les fonctions,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.conf&lt;/code&gt;&amp;nbsp;: Un fichier de configuration pour exécuter le script de test,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test/test_common-lib.sh&lt;/code&gt;&amp;nbsp;: Un script de test, qui exécute quasiment toutes les fonctions de la librairie.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Les md5 des fichiers :&lt;a name=&quot;Md5List&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt;26ecc237a2dcc4f74f3a21ed3db809d6  _common4bash.lib
2c540c2a2516829a7f0796ebdc789979  common.lib
07d486cdcf8c5623a2a17b7183c0b7be  common.lib.README
dde7d1862448a90eaadfd8e2ee5ec811  doc/common.lib.png
606b099e82e48e846c71555b2827237a  doc/common.lib.mm
d04d3958e604ffdd69d5387d6c95110f  test/libHelp.sh
51504fd29f5fd1aa73137d73657536ae  test/test_common-lib.conf
21793fdcd0cc20cf16743e223d157a63  test/test_common-lib.sh
4cef5fce3dc9d224333540b91bd53f61  F01common.lib_v0.26.tar.bz2&lt;/pre&gt;


&lt;p&gt;Les sha1 des fichiers :&lt;a name=&quot;Sha1List&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt;123dfbdbce15d27c0d5ca8a927d5d2fe0a575b41  _common4bash.lib
72e7de48dd30ef059bc16bbd809536505de62cdf  common.lib
fa9dead34dbc604a49ddf15b81805d288a9a0157  common.lib.README
0acab9ac384dfb9ce9e30baa4195cd2088fc069b  doc/common.lib.png
d32b6a8c2ad02816031b1e2f39dde6d7f41818af  doc/common.lib.mm
f8f1bf4afb8e54ec122f5f6e67a8a0bba72e98c8  test/libHelp.sh
34a05abbd28321b353c34b4003b7e001afd8a1b0  test/test_common-lib.conf
db07298d8710c78ca681dc4496408ee4901aa000  test/test_common-lib.sh
b849101928c71eec69f7623b233f369bf0dcfd3c  F01common.lib_v0.26.tar.bz2&lt;/pre&gt;


&lt;p&gt;Ci-dessous la liste des fonctions :&lt;a name=&quot;FunctionList&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt;#F01.01.03
#Function : ps2, Print to screen string passed in argument
#F01.02.02
#Function : p2st, Print to screen string passed in argument, with Time before
#F01.03.01
#Function : oops, Print to screen string passed in argument, and exit 1
#F01.04.01
#Function : oopst, Print to screen string passed in argument, with time before, and exit 1
#F01.05.06
#Function : myDebug, Print to screen string passed in argument if debug level is reach
#F01.06.02
#Function : myError, Store error in variables
#F01.07.02
#Function : fileCheck, Check file for presence and permission
#F01.08.02
#Function : fileCreate, Create file with permissions if asked
#F01.09.01
#Function : fileDelete, Delete the specified file
#F01.10.04
#Function : iniGetValue, Get the value from a specified INI file
#F01.11.04
#Function : iniParseFile, Set all values from a specified INI file
#F01.12.03
#Function : trim, Remove all blank from begining and end
#F01.13.03
#Function : logRotate, Transfer the begining of a file to the rotationned version.
#F01.14.01
#Function : logMe, Send the log to the log files
#F01.15.01
#Function : logMeV, Send the log to the verbose log files
#F01.16.03
#Function : isFunction, Verify that the function exists
#F01.17.07
#Function : sprintf, return a formatted string
#F01.18.02
#Function : ltrim, Remove all blank from begining
#F01.19.02
#Function : rtrim, Remove all blank from end
#F01.20.01
#Function : _str2lower, lower all characters
#F01.21.01
#Function : _str2upper, upper all characters
#F01.22.01
#Function : textFill, Create a text filled by the caracter
#F01.23.03
#Function : textBox, Create a box around the text
#F01.24.05
#Function : parseHeadersForHelp, Print headers of function for a given file
#F01.99.02
#Function : F01Version, Return/Print version information
#F01.23-1.02
#Function : _textBox4Bash, Create a box around the text&lt;/pre&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#rev-pnote-21-1&quot; id=&quot;pnote-21-1&quot;&gt;1&lt;/a&gt;] Mes fonctions préférées sont sans aucun doute : &lt;code&gt;sprintf&lt;/code&gt; et les &lt;code&gt;*trim&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;
</description>
    
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/_common4bash.lib"
      length="7197" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/common.lib"
      length="26411" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/common.lib.README"
      length="2095" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/doc/common.lib.mm"
      length="14440" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/doc/common.lib.png"
      length="30196" type="image/png" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/F01common.lib_v0.26.tar.bz2"
      length="45282" type="application/x-bzip" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/test/libHelp.sh"
      length="5716" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/test/test_common-lib.conf"
      length="931" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.26/test/test_common-lib.sh"
      length="12051" type="text/plain" />
    
    
          <comments>http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/04/22/F01common.lib-v0.26#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/21</wfw:commentRss>
      </item>
    
  <item>
    <title>F01common.lib v0.22</title>
    <link>http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22</link>
    <guid isPermaLink="false">urn:md5:4f89e4c349e1c30d131d3226a6c6efd9</guid>
    <pubDate>Mon, 25 Jan 2010 22:39:00 +0100</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Outils &amp; Développements</category>
        <category>bash</category><category>F01common.lib</category><category>ksh</category><category>Linux</category><category>Script</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Après plusieurs mois à codouiller&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#pnote-20-1&quot; id=&quot;rev-pnote-20-1&quot;&gt;1&lt;/a&gt;]&lt;/sup&gt; des petits bouts de script Shell, j'ai décidé d'en faire librairie&amp;nbsp;: &lt;strong&gt;F01common.lib&lt;/strong&gt;.&lt;/p&gt;


&lt;p&gt;J'ai tenté de la rendre la plus indépendante possible de &lt;code&gt;sed&lt;/code&gt; et &lt;code&gt;awk&lt;/code&gt; qui sont assez incontournable&lt;sup&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#pnote-20-2&quot; id=&quot;rev-pnote-20-2&quot;&gt;2&lt;/a&gt;]&lt;/sup&gt;. Elle fonctionne sous &lt;a href=&quot;http://dev.flyou.net/tag/bash&quot;&gt;bash&lt;/a&gt; ou &lt;a href=&quot;http://dev.flyou.net/tag/ksh&quot;&gt;ksh&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Ci-dessous un aperçu des variables et fonctions&amp;nbsp;:
&lt;img src=&quot;http://dev.flyou.net/public/F01common.lib/v0.22/.common.lib_v0.22_m.jpg&quot; alt=&quot;common.lib_v0.22.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Liste des variables et fonctions&quot; /&gt;&lt;/p&gt;


&lt;p&gt;En annexes sont fournis les fichiers indépendants, ainsi qu'une archive regroupant le tout.&lt;br /&gt;
Les fichiers sont&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;common.lib.README&lt;/code&gt;&amp;nbsp;: Une micro documentation,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.22&lt;/code&gt;&amp;nbsp;: La librairie Shell,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.22.mm&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier Free(Mind|Plane),&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.22.png&lt;/code&gt;&amp;nbsp;: La liste de fonctions et variables sous forme de fichier image,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;common.lib_v0.22.tar.bz2&lt;/code&gt;&amp;nbsp;: L'archive qui contient tous les fichiers,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test_common-lib.conf&lt;/code&gt;&amp;nbsp;: Un fichier de configuration pour exécuter le script de test,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;test_common-lib.sh&lt;/code&gt;&amp;nbsp;: Un script de test, qui exécute quasiment toutes les fonctions de la librairie.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Les md5 des fichiers&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;16fc140f5a69acdcbe5e1a21be185772  common.lib.README
3f5c5a78a3bc2da85e86395d65b88188  common.lib_v0.22
31bd6704a048d38ba1479ec42a0e97b2  common.lib_v0.22.mm
d273f4afd7a95aa8aa899e53f5dca904  common.lib_v0.22.png
1d0c7dd2ce3d264a14bfd442dadf0d24  common.lib_v0.22.tar.bz2
4c550b4593b12cd849af697313139e33  test_common-lib.conf
5520dd6882f166f4688ffef981187b41  test_common-lib.sh&lt;/pre&gt;


&lt;p&gt;Les sha1 des fichiers&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;076770bedcfef3cc2568b0d00185c47a5c84ab89  common.lib.README
b9f251ee69112e2357f716fac604f3bb3d73b627  common.lib_v0.22
b7cf30403aec92271678e14f79af9a4fd1f82df8  common.lib_v0.22.mm
30790cd148091e996415a5f620e5128feb40d986  common.lib_v0.22.png
832f5c6938657396f1361f80ebcb327f31956bd1  common.lib_v0.22.tar.bz2
7113349a4f5d1ddd74e790f4c2fa782ace0af949  test_common-lib.conf
7be004717f6ca2f9281955888c011ac6209b03e7  test_common-lib.sh&lt;/pre&gt;
&lt;div class=&quot;footnotes&quot;&gt;&lt;h4&gt;Notes&lt;/h4&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#rev-pnote-20-1&quot; id=&quot;pnote-20-1&quot;&gt;1&lt;/a&gt;] Voir définition &lt;a href=&quot;http://dev.flyou.net/post/2010/01/14/Mon-petit-environnement-IRC&quot; hreflang=&quot;fr&quot;&gt;ici&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;[&lt;a href=&quot;http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#rev-pnote-20-2&quot; id=&quot;pnote-20-2&quot;&gt;2&lt;/a&gt;] Mes fonctions préférées sont sans aucun doute : &lt;code&gt;sprintf&lt;/code&gt; et les &lt;code&gt;*trim&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;
</description>
    
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/common.lib.README"
      length="905" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/common.lib_v0.22"
      length="17409" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/common.lib_v0.22.mm"
      length="11025" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/common.lib_v0.22.png"
      length="50088" type="image/png" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/common.lib_v0.22.tar.bz2"
      length="57646" type="application/x-bzip" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/test_common-lib.conf"
      length="540" type="text/plain" />
          <enclosure url="http://dev.flyou.net/public/F01common.lib/v0.22/test_common-lib.sh"
      length="6810" type="text/plain" />
    
    
          <comments>http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/01/25/F01common.lib-v0.22#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/20</wfw:commentRss>
      </item>
    
  <item>
    <title>Mon petit environnement IRC : Création de fichiers Pipo</title>
    <link>http://dev.flyou.net/post/2010/01/19/Mon-petit-environnement-IRC-%3A-Creation-de-fichiers-Pipo</link>
    <guid isPermaLink="false">urn:md5:485fc0f14d3867c19f91c367838c7f17</guid>
    <pubDate>Tue, 19 Jan 2010 23:04:00 +0100</pubDate>
    <dc:creator>Flyounet</dc:creator>
        <category>Documentations</category>
        <category>IRC</category><category>Linux</category><category>Shell</category><category>Unix</category>    
    <description>    &lt;p&gt;Si vous avez utilisé le &lt;a href=&quot;http://dev.flyou.net/post/2010/01/14/Mon-petit-environnement-IRC&quot;&gt;précédent billet&lt;/a&gt; pour vous faire la main sur le &lt;acronym title=&quot;eXtended DCC&quot;&gt;XDCC&lt;/acronym&gt;, alors vous risquez d'avoir, comme moi, besoin de fichiers volumineux.&lt;/p&gt;


&lt;p&gt;Dans mon joli répertoire &lt;code&gt;/usr/local/src/IRC_dev/XDCC_offers&lt;/code&gt;&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;for i in $(seq 1 10); do let j=15*$i; let k=1024*$j; echo &quot;File: $j - Size : $k&quot;; dd if=/dev/urandom of=file_${j}MiB bs=1024 count=$k;done&lt;/pre&gt;

&lt;p&gt;Ligne qui peut se décomposer de la sorte&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;for i in $(seq 1 10)
do
 let j=15*$i; let k=1024*$j
 echo &quot;File: $j - Size : $k&quot;
 dd if=/dev/urandom of=file_${j}MiB bs=1024 count=$k
done&lt;/pre&gt;

&lt;p&gt;Ce qui a pour résultat&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;$ ls -lh | awk '{print $5 &quot;\t&quot; $NF}'|tail
105M	file_105MiB
120M	file_120MiB
135M	file_135MiB
150M	file_150MiB
15M	file_15MiB
30M	file_30MiB
45M	file_45MiB
60M	file_60MiB
75M	file_75MiB
90M	file_90MiB&lt;/pre&gt;</description>
    
    
    
          <comments>http://dev.flyou.net/post/2010/01/19/Mon-petit-environnement-IRC-%3A-Creation-de-fichiers-Pipo#comment-form</comments>
      <wfw:comment>http://dev.flyou.net/post/2010/01/19/Mon-petit-environnement-IRC-%3A-Creation-de-fichiers-Pipo#comment-form</wfw:comment>
      <wfw:commentRss>http://dev.flyou.net/feed/atom/comments/19</wfw:commentRss>
      </item>
    
</channel>
</rss>