<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-438617504231653023</id><updated>2024-10-24T13:52:37.338+02:00</updated><category term="awk"/><category term="astuces"/><category term="doublon"/><category term="grep"/><category term="mémo"/><category term="sed"/><title type='text'>En ligne</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default?start-index=26&amp;max-results=25'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6511733384610056168</id><published>2016-12-14T10:00:00.001+01:00</published><updated>2016-12-14T10:00:30.042+01:00</updated><title type='text'>Open CPN : navigation opensource</title><content type='html'>&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;OpenCPN est un projet de logiciel libre (GPLv2) pour créer un traceur de cartes et un logiciel de navigation concis, en cours d&#39;utilisation ou en tant qu&#39;outil de planification. OpenCPN est développé par une équipe de navigateurs actifs en utilisant les conditions du monde réel pour les tests de programme.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Site du projet : &lt;a href=&quot;http://opencpn.org/&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;http://opencpn.org&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Page de téléchargement : &lt;a href=&quot;http://opencpn.org/ocpn/download&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;http://opencpn.org/ocpn/download&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Page de compilation : &lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;a href=&quot;http://opencpn.org/ocpn/compiling_source_linux&quot;&gt;http://opencpn.org/ocpn/compiling_source_linux&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Installation des dépendances&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Il s&#39;agit d&#39;installer les programmes nécessaire à la récupération des sources, à la compilation, au packaging et à l&#39;installation du logiciel :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #d5a6bd; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Récupération des sources&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;La gestion des sources du projet Open CPN se fait avec l&#39;outil &quot;git&quot;. La commande pour récupérer les sources est la suivante :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;git clone git://github.com/OpenCPN/OpenCPN.git&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Compilation&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Cette opération consiste à &quot;fabriquer&quot; le programme exécutable à partir des sources récupéré. Elle se déroule en plusieurs étape :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;cd OpenCPN&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;mkdir build&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;cd build&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;cmake ../&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;make
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Installation &lt;/span&gt;&lt;/h3&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Manuelle&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;L&#39;installation manuelle permet de rendre le logiciel disponible pour les utilisateurs sans pour autant le répertorier dans les outils de gestion des logiciels du système d&#39;exploitation. C&#39;est rapide et pratique mais l&#39;inconvénient de cette méthode est le défaut d&#39;intégration qui aura entre autre pour effet de ne pas afficher le logiciel dans la liste de la logithèque.&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79; font-family: Arial, Helvetica, sans-serif;&quot;&gt;sudo make install&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Création de package&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;La création de package permet de construire un package du même type que ceux qu&#39;un peut installer avec la logithèque. Cela permet de partager le paquet avec d&#39;autre utilisateurs (sous réserve que ces derniers utilisent la même version de Linux) et d&#39;intégrer parfaitement le logiciel dans l&#39;outil de gestion des paquets du système d&#39;exploitation.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;sudo make package&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;u&gt;Notes sur installation par logithèque :&lt;/u&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Il est possible d&#39;installer OpenCPN à partir des dépôts logicielles fournis par la communauté :&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://opencpn.org/ocpn/start_install-ubuntu-ppa&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;http://opencpn.org/ocpn/start_install-ubuntu-ppa&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://launchpad.net/~opencpn/+archive/ubuntu/opencpn&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;https://launchpad.net/~opencpn/+archive/ubuntu/opencpn&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6511733384610056168/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2016/12/open-cpn-navigation-opensource.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6511733384610056168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6511733384610056168'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2016/12/open-cpn-navigation-opensource.html' title='Open CPN : navigation opensource'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-5655725653710087546</id><published>2016-12-14T09:53:00.000+01:00</published><updated>2016-12-14T10:00:54.858+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="awk"/><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><category scheme="http://www.blogger.com/atom/ns#" term="mémo"/><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><title type='text'>grep - awk - sed</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Le contenu de ce post n&#39;est pas issu de ma prose personnelle mais du site : http://www.corporesano.org/doc-site/grepawksed.html.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Je l&#39;ai copié ici avec quelques mises en forme afin de partager ce mémo très utile au quotidien.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3 style=&quot;padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt;SOMMAIRE&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;div style=&quot;margin-left: 0pt; margin-right: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1- Numéroter&amp;nbsp;- compter - additionner - cumuler&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2- opérations sur les champs : NF&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3- opérations sur les lignes : NR - occurrences&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4- pattern&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5- Remplacer des lignes des chiffres ou des lettres&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;6- Supprimer ou insérer des lignes blanches, espaces, tabulations&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;7- Insérer&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;8- divers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 0pt; margin-right: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h3&gt;
&lt;div style=&quot;background-color: #fff0bc; margin-left: 0pt; margin-right: 0pt; padding: 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;L’exécution&lt;/span&gt;&amp;nbsp;du script peut dépendre de la version de Linux installée. Il s’exécute&amp;nbsp;parfois dans un &quot;sous shell&quot; (en tapant &#39;sh&#39;) (taper &#39;exit&#39; pour sortir)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#1-Numéroter - compter - additionner - cumuler&lt;/span&gt;&lt;/h3&gt;
&lt;ul style=&quot;margin-left: 0pt; margin-right: 0pt; padding-left: 8pt;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Affiche le nombre de lignes (avec les lignes vides)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n -e &#39;$=&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;END{print NR}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{n++} END{print n}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Affiche le nombre de lignes (sans les lignes vides)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/./ {print}&#39; in.txt | wc -l&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;.&quot; in.txt | wc -l&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Somme avec cumul de la colonne 1&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print (total +=$1)}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print le nombre de mots&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{x=x+NF}END{print x}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compte nombre de lignes contenant le pattern &#39;titi&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/titi/{x+=1}END{print x}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print le numero de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print NR,$0}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;c=0; while read line; do ((c+=1)); echo $c $line; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compteur vertical&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for i in `seq 1 15`;do echo &quot;$i&quot;;done&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compte le nombre de lignes vides d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/^$/ {x += 1};END {print x }&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compter le nombre de mots d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | wc -w&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compter le nombre de lignes et de mots&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;BEGIN{nl=0;nw=0} {nl++;nw+=NF} END {print &quot;lines:&quot;,nl, &quot;words:&quot;,nw}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compter un caractere (ici: i)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=`cat in.txt` ; var=&quot;${var//[^i]/}&quot; ; echo ${#var}&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;affiche le numero de ligne du pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -n &quot;pattern&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compter le nombre d&#39;occurrences de &#39;pattern&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -c &quot;pattern&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern/ {n++} END {print n}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Numeroter toutes les lignes contenant &#39;pattern&#39; (affiche 1 numero par ligne)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/=&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Numeroter toutes les lignes entre 2 patterns (affiche 1 numero par ligne)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern1/,/pattern2/{=;d;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Numeroter les lignes sans les lignes blanches&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;nl in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Numeroter les lignes avec les lignes blanches&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat -n in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed = in.txt | sed &#39;N; s/\n/\t/&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Numeroter les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print NR,$0}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do N=$((N+1)); echo &quot;Line $N = $line&quot;; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ecrire le nom du fichier devant chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -H &quot;pattern&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Somme et cumul d&#39;une colonne ($2) , en utilisant 1 colonne clef ($1)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{arr[$1]+=$2} END {for(i in arr) {print i, arr[i]}}&#39; in.txt | sort&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#2-Operations sur les champs : NF&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Compter le nombre de champs de chaque ligne (separateur = &quot;,&quot;)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{cnt=0 ; for(i=1; i&amp;lt;=NF; i++) {if($i != &quot;&quot;) {cnt++}} {print NR &quot; : &quot;cnt&quot; fields&quot;}}&#39; FS=&quot;,&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 5 premiers caractères de toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line;do echo ${line::5};done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line ; do echo $line | cut -c1-5 ; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Deleter les 5 premiers caracteres de toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;colrm 1 5 &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;sub(&quot;^.....&quot;, &quot;&quot;)&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line ; do echo $line | cut -c6- ; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 5 derniers caracteres de toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/^.*\(.....\)$/\1/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/\(.*\)\(.\{5\}\)/\2/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line;do echo ${line: -5};done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print substr($0, length($0) - 4, length($0) ) }&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Deleter les 5 derniers caracteres de toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;sub(&quot;.....$&quot;, &quot;&quot;)&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer un champ&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;data1 line1&quot; | sed &#39;s/.* //&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;data1 line1&quot; | sed -n &#39;s/.* //;p&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;resultat: line1&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer le dernier champ&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{$NF=&quot;&quot;; print $0}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Champ tampon &#39;elapse&#39; pour operations intermediaires&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{elapse = $1/3600; if(elapse&amp;lt;8) print int($1/3600)}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dans champ 1, a la position 2, printer 3 caracteres&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print substr($1,2,3)}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print l&#39;avant dernier champ ($NF-1) de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print $(NF-1)}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print le nombre de champs uniquement&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print NF}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print le nombre maximum de champs&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print NF}&#39; in.txt | sort -n | sed -n &#39;$p&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print le nombre minimum de champs&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print NF}&#39; in.txt | sort -n | sed -n &#39;1p&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer 2 colonnes en precisant le separateur&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk -F&#39;[ ]&#39; &#39;{print $2,$3}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cut -d &#39; &#39; -f2,3 in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer du 5eme caractere au dernier (inclus) sur toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | cut -c &#39;5-&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer du 1er au 5eme caractere (inclus) sur toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | cut -c &#39;-5&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer du 3eme au 5eme caractere (inclus) et du 7eme au 9eme (inclus) sur toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | cut -c &#39;3-5,7-9&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes dont le nombre de champs est inferieur a 3&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NF&amp;lt;3&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes n&#39;ayant qu&#39;un seul champ&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{if(NF == 1) {print}}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Tri de la 1ère colonne au 22eme caractere&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sort -k1.22&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print si longueur de &#39;colonne 1&#39; &amp;gt;3 &quot;ET&quot; ou &quot;OU&quot; longueur de &#39;colonne 2&#39; &amp;lt;5&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;length($1)&amp;gt;3 &amp;amp;&amp;amp; length($2)&amp;lt;5 {print}&#39; in.txt ........... #ET&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;length($1)&amp;gt;3 || length($2)&amp;lt;5 {print}&#39; in.txt ........... #OU&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Condition de print sur la longueur de colonne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{if(length($1)&amp;lt;2 &amp;amp;&amp;amp; $1~/2/) {print $2} else {print $1}}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#3-operations sur les lignes : occurrences - digits - suppression - doubles - printer&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Capturer la premiere occurrence d&#39;une serie de lignes ayant meme pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -k1 | awk &#39;x !~ $1 ; {x = $1}&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -k1 | awk &#39;!d[$1] {print} {d[$1]=1}&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -k1 | awk &#39;x[$1]++ {next} {print}&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -k1 | awk &#39;!_[$1]++ {print $0 ; next} {next}&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Compter et marquer a la fin de la ligne les occurrences d&#39;un unique pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern/ {i=i+1} {print $0,i}&#39; in.txt | awk &#39;!a[NF]++ {print $0 ; next} {sub($NF,&quot;&quot;) ; print}&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Compter les occurrences d&#39;un pattern (total cumule)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern/ {n++} END {print &quot;pattern ecrit&quot; n &quot;fois&quot;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Compter les occurrences d&#39;un pattern (pour chaque ligne)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk -F &quot;pattern&quot; &#39;{print NF-1}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Remplace sur chaque ligne la 1ère occurrence de &#39;t&#39; par &#39;b&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;1,$ s/t/b/1&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo ${line/t/b}; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Remplacer la 2ème occurrence d&#39;un pattern de la premiere ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;0,/old/ s//new/2&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Remplacer la 2ème occurrence d&#39;un pattern pour chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/old/new/2&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/old/ s//new/2&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print gensub(/old/, &quot;new&quot;, 2)}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Print la 1ère occurrence d&#39;un &quot;pattern&quot;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -m1 &quot;pattern&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/{p;q;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Occurrences&lt;br /&gt;Printer les lignes dont les elements de la colonne 2 ont plus d&#39;une occurrence&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;FNR==NR &amp;amp;&amp;amp; a[$2]++ {b[$2] ; next} $2 in b&#39; in.txt in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Digits&lt;br /&gt;Printer les 4 premiers digits de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | cut -c1-4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for line in $(cat in.txt); do echo `expr &quot;$line&quot; : &#39;\(....\)&#39;`; done&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo `expr &quot;$line&quot; : &#39;\(....\)&#39;`; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Digits&lt;br /&gt;Printer les 4 derniers digits de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print substr($0, length($0)-3, length($0))}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Digits&lt;br /&gt;Deleter les 3 derniers digits de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;1,$ s/...$//p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Digits&lt;br /&gt;Printer du 5ème digit au dernier de la ligne pour toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo &quot;substr($line,4)&quot; | m4; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Digits&lt;br /&gt;Printer 6 digits à partir du 2ème digit&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo `expr substr &quot;$line&quot; 2 6`; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprime de la ligne 4 a 7 (inclus) du fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;4,7d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprime les lignes contenant &#39;toto&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/toto/d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -v &quot;toto&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprime &#39;toto&#39; de la ligne 2 a 6&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;2,6 s/toto//g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprime les lignes debutant par un chiffre (1 a 9)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 ~ /^[1-9]/ {next} {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprime la ligne debutant par &#39;@&#39; et les 2 suivantes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/^@/ {N;N;d;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprimer la 1ere ligne , la derniere ligne ...&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;1d&#39; in.txt ........... #supprime la premiere ligne&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;3d&#39; in.txt ........... #supprime la ligne 3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$d&#39; in.txt ........... #supprime la derniere ligne&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprimer les lignes 1, 4, 7, 10.....&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;1~3d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Supprimer 1 ligne toutes les 3 lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;0~3d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;n;n;d;&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Deleter les 2 dernieres lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;N;$!P;$!D;$d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression de lignes&lt;br /&gt;Deleter les 10 dernieres lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e :a -e &#39;$d;N;2,10ba&#39; -e &#39;P;D&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n -e :a -e &#39;1,10!{P;N;D;};N;ba&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Lignes doubles&lt;br /&gt;Printer les lignes uniques sans les doubles&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sort -u in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sort in.txt | uniq&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;!x[$0]++&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{ a[$1]++ } END {for (i in a) print i}&#39; in.txt | sort&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$!N; /^\(.*\)\n\1$/!P; D&#39; in.txt .........consecutive lines&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Lignes doubles&lt;br /&gt;Printer les lignes doubles , deleter le reste&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;x[$0]++&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | uniq -d&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$!N; s/^\(.*\)\n\1$/\1/; t; D&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Lignes doubles&lt;br /&gt;Printer les lignes doubles (ou triples ...)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;FNR==NR &amp;amp;&amp;amp; a[$0]++ {b[$0] ; next} $0 in b&#39; in.txt in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer uniquement la ligne 10&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;10q;d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;10!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;10p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{f[NR]=$0} END {print f[10]}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR == 10 {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer de la ligne 1 a 10&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed 10q in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR &amp;lt;=10{print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer de la ligne 3 a 5&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;3,5!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;3,5p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR &amp;gt;= 3 &amp;amp;&amp;amp; NR &amp;lt;= 5&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;head -5 in.txt | tail -3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;3{:a;N;5!ba;p}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer la ligne 5 et 10 d&#39;une serie de fichiers&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for i in fichiers*;do awk &#39;NR == 5;NR == 10 {print $0}&#39; $i;done&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer de la ligne 5 a 10 en numerotant&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR == 5,NR == 10 {print NR&quot; &quot; $0}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer la 1ere ligne à la place de la 3eme ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n -e &#39;1h; 1!p; 3{g;p}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer la 1ere ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed q in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer la dernière ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;$p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$!d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer les 2 dernieres lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$!N;$!D&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer les 10 dernieres lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e :a -e &#39;$q;N;11,$D;ba&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer la 1ere et derniere ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;head -1 in.txt ; tail -1 in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;1p ; $p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR==1 ; END {print}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed q in.txt;sed &#39;$!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed q in.txt;sed &#39;$\!d&#39; in.txt ..........#selon version de Linux&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;IFS=$&#39;\n&#39;;array=($(cat in.txt)); echo ${array[0]};sed &#39;$!d&#39; in.txt ........#en sous shell&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer les lignes ayant moins de 6 caracteres&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/^.\{6,\}/d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer des lignes&lt;br /&gt;Printer les lignes de 6 caracteres ou plus&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/^.\{6\}/p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Indexage du premier &#39;t&#39; lu pour chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo `expr index &quot;$line&quot; t`; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Longueur de chaque ligne (en nombre de digits) - voir si la version de Linux supporte : &#39; m4 &#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo &quot;len($line)&quot; | m4; done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo `expr length &quot;$line&quot;`; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Formater sur une meme ligne : une ligne paire a droite d&#39;une ligne impaire&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sed &quot;N;s/\(.*\)\n\(.*\)/\1 \2/&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sed &quot;N;s/\n/ /&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sed &#39;$ !N; s/\n/ /&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Formater sur une meme ligne : une ligne impaire a droite d&#39;une ligne paire&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sed &quot;N;s/\(.*\)\n\(.*\)/\2 \1/&quot;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Affiche 1 ligne sur 2 (lignes 1, 3, 5...)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;n;d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;p;n&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;1,${p;n;}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;2~2d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;FNR % 2&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR%2 {print}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR%2 == 1&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Affiche 1 ligne sur 2 (lignes 2, 4, 6...)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;n;p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;1,${n;p;}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;1~2d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;!(FNR % 2)&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;(NR+1)%2 {print}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR%2 == 0&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Affiche 1 ligne sur 5 a partir de la ligne 3&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;3,${p;n;n;n;n;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Recherche de la ligne la plus longue&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{ if ( length &amp;gt; L ) { L=length ; s=$0 } } END { print L,&quot;\&quot;&quot;s&quot;\&quot;&quot;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#4-pattern&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capture d&#39;un pattern dans 1 fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &#39;pattern&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -w &#39;pattern&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$0 ~ /\ypattern\y/ {print}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern/ !d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &#39;\&amp;lt;pattern\&amp;gt;&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes ne contenant que des chiffres&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/^[[:digit:]]*$/p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes ne contenant que des lettres&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/^[[:alpha:]]*$/p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capture d&#39;un pattern dans plusieurs fichiers&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;pattern&quot; in*.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for i in in*.txt;do seq=`ls $i`;awk &#39;/pattern/ {print seq,$0}&#39; seq=${seq} $i;done&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer un paragraphe separe par des lignes blanches , contenant un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./{H;$!d;}&#39; -e &#39;x;/pattern/!d;&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer un paragraphe separe par des lignes blanches , contenant pattern1 &#39;et&#39; pattern2&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./{H;$!d;}&#39; -e &#39;x;/pattern1/!d;/pattern2/!d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer un paragraphe separe par des lignes blanches , contenant pattern1 &#39;ou&#39; pattern2&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./{H;$!d;}&#39; -e &#39;x;/pattern1/b&#39; -e &#39;/pattern2/b&#39; -e d in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capturer dans la colonne 1 le pattern &#39;2&#39; et printer la colonne 3&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 ~ /2/ {print $3}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 == &quot;2&quot; {print $3}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{if($1 ~ /t/){gsub(/t/, &quot;z&quot;,$1);print $0}}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 !~ /2/ {print $3}&#39; in.txt ........... #syntaxe inverse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 \!~ /2/ {print $3}&#39; in.txt ...........#syntaxe inverse (selon version Linux)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les lignes contenant des patterns&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 !~ /pattern1/ &amp;amp;&amp;amp; $2 !~ /pattern2/ &#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$1 ~ /pattern1/ || $2 ~ /pattern2/ {next} {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capturer le caractère # à la 4ème position&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;egrep &#39;^.{3}#&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capturer les lignes commencant par 1 espace ou plus, sans celles commencant par 2 espaces&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;[ ]\{1\}&quot; in.txt | awk &#39;$0 !~ /^ / {print}&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capturer les lignes ayant 4 chiffres ou plus&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;[0-9]\{4\}&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Lire plusieurs patterns - (possibilite de lignes doubles)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern1/ {print $0} /pattern2/ {print $0}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;FNR==NR &amp;amp;&amp;amp; a[$0]=/^t/ || a[$0]=/^d/ {b[$0] ; next} $0 in b&#39; in.txt in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Utiliser &#39;egrep&#39; si le pattern a plusieurs lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;egrep -a &quot;MIN WORD 2|MIN WORD32&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ajouter antislash (\) pour le caractère special: |&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;egrep &quot;3 \|DISK|4 \| DISK&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pattern1 OR pattern2&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/[pattern1pattern2]/!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern1/b&#39; -e &#39;/pattern2/b&#39; -e d in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern1|pattern2/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -E &quot;pattern1|pattern2&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -e pattern1 -e pattern2 in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pattern1 AND pattern2&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/a/!d; /b/!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern1.*pattern2/!d in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern1.*pattern2/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/pattern1/ &amp;amp;&amp;amp; /pattern2/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -E &#39;pattern1.*pattern2&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;NOT pattern1&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -v &#39;pattern1&#39; in .txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;!/pattern1/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern1/!p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 2 premieres occurrences du pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -m2 &quot;tata&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Substitution uniquement pour la 1ere occurrence&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;0,/tata/ s//zaza/&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplace &#39;old&#39; par &#39;new&#39; uniquement sur les lignes commencant par %%&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/^%%/ s/old/new/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplace sur chaque ligne du début de la ligne au signe &#39;=&#39; par &#39;new&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;1,$ s/^.*=/new/&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer la ligne contenant &#39;toto&#39; entre &#39;titi&#39; et &#39;tutu&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/titi/,/tutu/ {/toto/d}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capture entre &#39;toto&#39; et &#39;tata&#39; (attention si plusieurs occurrences du pattern)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/toto/,/tata/p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/toto/,/tata/ !{/./d}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/toto/,/tata/ \!{/./d}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;perl -e &quot;while(&amp;lt;&amp;gt;) {print if/toto/.../tata/}&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &quot;/toto/,/tata/&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer entre &#39;pattern1&#39; et &#39;pattern2&#39; (les patterns inclus)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern1/,/pattern2/d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer d&#39;un debut de fichier a un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;1,/pattern/d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer d&#39;un pattern a la fin d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/,$d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Substitution entre 2 patterns&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/titi/,/tata/ s/toto/zz/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Definir un pattern sur lequel la substitution ne se fera pas&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/toto/!s/t/z/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer entre &#39;titi&#39; et &#39;tutu&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/titi/{:a;N;/tutu/!ba;p;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Capture de &#39;titi&#39; a &#39;tutu&#39; de la ligne 3 a 10&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;3,10{/titi/,/tutu/p}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer une ligne contenant un pattern + les 2 lignes suivantes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern/,+2d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer de la ligne 3 a la ligne contenant &#39;pattern&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;3,/pattern/d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer d&#39;une ligne contenant 1 pattern jusqu&#39;a la fin&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/,$p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/,EOF&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Si le pattern est une variable&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/&#39;$var&#39;/p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ne pas selectionner les lignes contenant un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -v &quot;pattern&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;!/pattern/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern/d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/!p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;$0 ~ /pattern/ {next} {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A un pattern inserer une ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\ligne ecrite avant le pattern&#39; in.txt ............ (option &#39;i&#39; : avant le pattern)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ a\ligne ecrite apres le pattern&#39; in.txt ............ (option &#39;a&#39; : apres le pattern)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A un pattern inserer une ligne blanche&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\ &#39; in.txt ............ (option &#39;i&#39; : avant le pattern)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ a\ &#39; in.txt ............ (option &#39;a&#39; : apres le pattern)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;print 2 lignes après un pattern ( dans la colonne 1 )&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/^pattern/ {c=2; next} c--&amp;gt;0&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;BEGIN {counter=0}; $1==&quot;pattern&quot; {counter=2; next}; counter&amp;gt;0 {counter--; print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;print le pattern + 2 lignes après (After)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -A2 &quot;pattern&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/pattern/ {N;N;p;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;delete le pattern + 2 lignes après&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern/ {N;N;d;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;print le pattern + 2 lignes avant (Before)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -B2 &quot;pattern&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Sélectionner tous les caractères (sans afficher les lignes blanches)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;.&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &quot;/./&quot; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/./ {p;d}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Combiner motif et ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;8,/fin/ s/toto/titi/g&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/debut/,$ s/toto/titi/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Substituer tout un texte entre 2 motifs excluant les motifs&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/titi/,/tutu/{/titi/b;/tutu/b;s/.*/SED/;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ne pas printer les lignes contenant &#39;tata&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/tata/d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/tata/!p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes precedant un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/tata/{g;1!p;};h&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes suivant un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/tata/{n;p;}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remembering a pattern (&#39;_&#39; is delimiter)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;a line1&quot; | sed &#39;s_\([a-z]\)\([ ]\)\([a-z]*\)\([0-9]\)_\1\2\3 \4_&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;(result: a line 1)&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#5-Remplacer des lignes des chiffres ou des lettres&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Exemple d&#39;une suite d&#39;actions entre 2 patterns&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;4,10 {/pattern1/,/pattern2/ {s/^0./y&amp;amp;/;/^$/d;s/m/w/g;p}}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer tous les chiffres en gardant un tiret &#39;-&#39; a la place&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr -d 0-9 &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer toutes les lettres en gardant un tiret &#39;-&#39; a la place&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr -d [a-zA-Z] &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Conserver les lignes contenant des chiffres&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/[0-9]/!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/[0-9]/\!d&#39; in.txt ........... (selon version Unix)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Changer un texte majuscule en minuscule&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print tolower($0)}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | tr -s A-Z a-z&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Changer un texte minuscule en majuscule&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | tr -s a-z A-Z&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les lettres minuscules en fin de ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{ sub(&quot;[a-z]*$&quot;, &quot;&quot;); print }&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;print le pattern sans distinguer majuscules ou minuscules&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -i &quot;pattern&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Mettre en majuscule la 1ère lettre d&#39;une phrase&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo -e &quot;texte ligne1\ntexte ligne2&quot; | sed &#39;s/^./\u&amp;amp;/&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer les lettres par une operande (ici: +)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | tr &#39;[:alpha:]&#39; +&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer les chiffres par une operande (ici: +)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | tr &#39;[:digit:]&#39; +&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer 1 caractere par un autre&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr &quot;t&quot; &quot;z&quot; &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression des sauts de lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr &#39;\n&#39; &#39; &#39; &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer la répétition de caractères&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;boonnjoouuur&quot; | tr -s &quot;onu&quot;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplace le bloc (&#39;t&#39; suivi de 2 caracteres) par zorro en ligne 4&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;4s/t../zorro/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer 1 caractère (1 point=1 caractère)&lt;br /&gt;( ici l&#39;insertion de &#39;Q&#39; se fera apres les 2 premiers caractères )&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &#39;abcdef&#39; | sed &#39;s/^../&amp;amp;Q/&#39; ........... #resultat : abQcdef&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer en debut de chaine un nombre de points par une lettre&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &#39;abcdef&#39; | sed &#39;s/^../Q/&#39; ........... #resultat : Qcdef&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Uniquement le 2eme caractere &#39;t&#39; est remplace par &#39;z&#39; en ligne 4&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;4s/t/z/2&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR==4 {print gensub(/t/,&quot;z&quot;,2)}; NR!=4 {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplace &#39;t&#39; par &#39;k&#39; , et &#39;o&#39; par &#39;l&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;y/to/kl/&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Effectue le remplacement des lignes 4 a 10 et n’écrit dans &#39;out.txt&#39; que celles modifiées&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;4,10 s/t/&amp;amp;zorro/gw out.txt&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer un pattern (&#39;titi&#39; remplace par: &#39;titi et tata&#39;)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/titi/ s//&amp;amp; et tata/g&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/titi/titi et tata/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr : remplacement dans un sous shell (taper: sh)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo $a | tr f g ........... #resultat : abcdeg&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo ${a//f/g} ........... #resultat : abcdeg&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo $a | tr [ac] [xz] ........... #resultat : xbzdef&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr + option -d: effacement (utiliser un sous shell) (taper: sh)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo $a | tr -d f ........... #resultat : abcde&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo ${a//f/} ........... #resultat : abcde&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo $a | tr -d [a-c] ........... #resultat : def&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo ${a//[a-c]/} ........... #resultat : def&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo $a | tr -d [ac] ........... #resultat : bdef&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=abcdef; echo ${a//[ac]/} ........... #resultat : bdef&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr + option -c: inverse l&#39;ensemble des caractères a detecter&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;acfdeb123&quot; | tr -c b-d + ....... resultat: +c+d+b++++&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer toutes les occurrences d&#39;un caractère ou d&#39;un pattern pour chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=&quot;newpattern&quot; ; awk &#39;{gsub( /oldpattern/, &quot;&#39;&quot;$var&quot;&#39;&quot; )};1&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=&quot;newpattern&quot; ; awk -v v=&quot;$var&quot; &#39;{gsub( /oldpattern/, v )}1&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer la 2eme occurrence d&#39;un caractère ou d&#39;un pattern pour chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print gensub(/old/, &quot;new&quot;, 2) }&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer &#39;o&#39; par &#39;zorro&#39; sauf pour le pattern &#39;toto&#39; ,&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/toto/!s/o/zorro/&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les 3 derniers caractères de la dernière ligne uniquement&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;expr &quot;$(cat in.txt)&quot; : &quot;\(.*\)...$&quot;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les 3 derniers caractères de chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;sub( &quot;...$&quot;, &quot;&quot; )&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 5 premiers caractères de la premiere ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo `cat in.txt`| cut -c1-5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo `expr &quot;$(cat in.txt)&quot; : &#39;\(.....\)&#39;`&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 5 premiers caractères de toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | cut -c1-5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line;do echo ${line::5};done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line ; do echo $line | cut -c1-5 ; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les 5 derniers caracteres de toutes les lignes d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line;do echo ${line: -5};done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/^.*\(.....\)$/\1/&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/\(.*\)\(.\{5\}\)/\2/&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Substituer toto ou titi par tata&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/toto\|titi/tata/g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#6-Supprimer des lignes blanches ,espaces ,tabulations&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les lignes blanches (l&#39;option &#39;-i&#39; reecrit directement dans le fichier)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/./!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -i &#39;/^$/d&#39; in.txt ........... (l&#39;option &#39;-i&#39; est a manier avec precaution)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les lignes blanches repetees sauf la 1ere&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat -s in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer uniquement les lignes blanches du debut du fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/./,$!d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer tout ce qui suit la 1ere ligne blanche&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/^$/q&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer tout ce qui precede la 1ere ligne blanche&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;1,/^$/d&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer les lignes blanches entre &#39;tata&#39; et &#39;route&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/tata/,/route/ {/^$/d}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Remplacer 2 blancs (ou +) par 1 seul blanc&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/\ \ */\ /g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression des espaces et tabulations en debut et fin de ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/^[ \t]*//;s/[ \t]*$//&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Suppression des lignes vides&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -v &#39;^$&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &#39;.&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/^$/!p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk NF in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/./&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/^$/d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/./!d&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;/^$/ {next} {print}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tr + option squeeze-repeats: efface tout sauf la première&lt;br /&gt;occurence d&#39;une chaîne de caractères&lt;br /&gt;(utile pour supprimer plusieurs espaces blancs)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;XXXXX&quot; | tr --squeeze-repeats &#39;X&#39; ....... resultat: X&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprime tous les espaces au début de toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/^ *//g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprime tous les espaces à la fin de toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;s/ *$//g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Supprimer seulement la première ligne de chaque ensemble de lignes vides consecutives&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/[0-9A-Za-z]/,/^$/{/^$/d}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;to join lines ( en deletant les lignes blanches )&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./!d&#39; -e &#39;$!N;s/\n/ /&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./\!d&#39; -e &#39;$\!N;s/\n/ /&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;.&quot; in.txt | sed &#39;$\!N;s/\n/ /&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;to join lines ( en gardant les lignes blanches )&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./!b&#39; -e &#39;$!N;s/\n/ /&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/./\!b&#39; -e &#39;$\!N;s/\n/ /&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep &quot;.&quot; in.txt | sed &#39;$\!N;s/\n/ /&#39; | sed G&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#7-Inserer&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche après chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed G in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;a\ &#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne de tirets toutes les 2 lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;n;a\----------&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche toutes les 3 lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;n;n;G;&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche après chaque ligne sauf après la ligne 3&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;3!G&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne au début, à la 3eme ligne et à la fin du fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;1i \debut\ du\ traitement&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;3i \ajout\ a\ la\ 3eme\ ligne&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;NR == 3 {print &quot;line3&quot;}1&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;$a \fin\ du\ traitement&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne à un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\ligne ecrite avant le pattern&#39; in.txt ............ (option &#39;i&#39; : avant le pattern)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ a\ligne ecrite apres le pattern&#39; in.txt ............ (option &#39;a&#39; : apres le pattern)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche à un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\ &#39; in.txt ............ (option &#39;i&#39; : avant le pattern)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ a\ &#39; in.txt ............ (option &#39;a&#39; : apres le pattern)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Changer la ligne si elle contient un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ c\new line&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Inserer **DELETED** et supprimer les lignes entre 2 patterns&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern1/,/pattern2/ c\**DELETED**&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer la ligne &#39;line before&#39; avant chaque ligne du fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;i\line before&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer du texte avant une ligne matchée par un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\line before pattern&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche avant une ligne matchée par un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/tata/{x;p;x}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ i\ &#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche après une ligne matchée par un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/tata/G&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;/pattern/ a\ &#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer une ligne blanche avant et après une ligne matchée par un pattern&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/tata/{x;p;x;G}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer un fichier &#39;temp.txt&#39;&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;1r temp.txt&#39; &amp;lt; in.txt ..........après la 1ère ligne de &#39;in.txt&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/pattern/ r temp.txt&#39; &amp;lt; in.txt .........apres le pattern&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer un &#39;blanc&#39; devant toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;s/^./ &amp;amp;/g&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;{s_^_ _}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer un &#39;blanc&#39; à toutes les fins de lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;s/.$/&amp;amp; /g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer un &#39;blanc&#39; après tous les &#39;t&#39; (a droite) en ligne 4&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;4s/t/&amp;amp; /g&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e &#39;4\!s/t/&amp;amp; /g&#39; in.txt ........... #syntaxe inverse&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer au 5ème caractère après 3 caractères le signe # sur la ligne 2&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -r &quot;2 ~ s/^(.{4})(.{3})/\2#/&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;background-color: #63f496; font-size: medium; padding-bottom: 4pt; padding-top: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;#8-divers&lt;/span&gt;&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Retirer les accents d&#39;un texte&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat non-ascii.txt | iconv -f utf8 -t ascii//TRANSLIT//IGNORE &amp;gt; ascii.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes d&#39;un fichier2 qui ne sont pas dans le fichier1&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;comm -23 file2.txt file1.txt 2&amp;gt;dev&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;grep -vxFf file1.txt file2.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;:&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dupliquer toutes les lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;printer 3 fois chaque ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;{h;p;p}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line;do for i in `seq 1 3`;do echo $line;done;done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Inverser l&#39;ordre d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tac in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;1!G;h;$p&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{ a[i++]=$0 } END { for (j=i-1; j&amp;gt;=0; ) print a[j--] }&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ecrire 1 mot par ligne (pour 5 mots: -n5)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | xargs -n1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{i=1; while (i&amp;lt;=NF){print $i, &quot; &quot;;i++}}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ecrire un caractère par ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo -n &quot;$line&quot; | dd cbs=1 conv=unblock 2&amp;gt;/dev/null; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ecrire un fichier sur une ligne&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;{:a;$!N;s_\n_ _;ta}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Joindre les lignes paires a la suite des lignes impaires&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;$!N; s/\n/ /g&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Transforme les lignes en colonnes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{printf &quot;ligne%d: %s &quot;,NR,$0&amp;gt;&quot;z-cible&quot;}&#39; z-source&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ajouter en prefixe le nombre d&#39;occurences des mots et trier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | xargs -n1 | sort | uniq -c | sort -nr&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Print les 10 premiers (ou derniers) caracteres d&#39;un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;head -10c in.txt ........... #les 10 premiers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tail -10c in.txt ........... #les 10 derniers&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Decoupe en n caracteres le fichier &#39;in.txt&#39; (ici n=10)&lt;br /&gt;creation de fichiers: prefixe_outaa (outab..outac...)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;split -b 10 in.txt prefixe_out&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Decoupe en n lignes le fichier &#39;in.txt&#39; (ici n=5)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;creation de fichiers: prefixe_outaa (outab..outac...)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;split -l 5 in.txt prefix_out&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{print &amp;gt;(&quot;prefix_out&quot; int((NR+4)/5))}&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Trier un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;dans un ordre numerique (-n); avec separateur (-t); colonne (-k); et place du caractere (.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -n -t&quot; &quot; -k2.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;dans un ordre decroissant (-r) et en retirant les doubles (-u) :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cat in.txt | sort -r -u&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Copier un fichier&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cp old_file new_file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;w new_file&#39; old_file&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Definir un marqueur en fin de ligne (ici ,) qui joindra la ligne suivante&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed &#39;/\,$/ {N; s_\,\n_ _}&#39; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e :a -e &#39;/\,$/N; s_\,\n_ _; ta&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Si 1 ligne se termine par &#39;,&#39; joindre la suivante a elle&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e :a -e &#39;/,$/N ; s#\n## ; ta&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Si 1 ligne commence par un signe egale &#39;=&#39; , l&#39;ajouter a la ligne precedente et remplacer le signe egale &#39;=&#39; par un espace&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -e :a -e &#39;$!N;s/\n=/ /;ta&#39; -e &#39;P;D&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&quot;Dispach&quot; (inverse du &quot;regroupe&quot;)&lt;br /&gt;split en couples: [&#39;colonne 1&#39;-&#39;parties[k]&#39;]&lt;br /&gt;en &#39;k&#39; fois nombre de lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{key=$1;$1=&quot;&quot;;n=split($0, parties, &quot;[,]&quot;);for(k=1; k&amp;lt;=n; k++) print &quot;&quot;key&quot; &quot;1&quot; &quot;parties[k] &quot;&quot;}&#39; in.txt| awk &#39;{if($2&amp;gt;0) print $0}&#39; | awk &#39;{if($1 != key){key = $1} else {$2 += cum} cum=$2; print}&#39; &amp;gt; out.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&quot;Regroupe&quot; (inverse du &quot;dispach&quot;)&lt;br /&gt;(tous les elements semblables de la colonne 1&lt;br /&gt;sont regroupes sur 1 seule ligne)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;awk &#39;{key=$1; $1=$2=&quot;&quot;;f[key]=f[key] s[key] $0;s[key]=&quot;,&quot;} END {for(key in f){gsub(/[[:space:]]/,&quot;&quot;,f[key]);printf &quot;%s %s\n&quot;,key,f[key]}}&#39; in.txt| sort &amp;gt; out.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Encadre le premier nombre de la ligne avec des ** , ne printer que ces lignes&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &quot;s/\([0-9][0-9]*\)/**\1**/p&quot; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Printer les lignes avec 3 digits consecutifs&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;sed -n &#39;/[0-9]\{3\}/p&#39; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Insérer un espace entre chaque lettre&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo -e &quot;bonjour&quot;|sed &#39;s/./&amp;amp; /g&#39; ................resultat: b o n j o u r&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo -e &quot;bonjour&quot;|sed -r &#39;s/([^ ])/\1 /g&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo -e &quot;bonjour&quot;|sed &#39;s/\([^ ]\)/\1 /g&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;dirname ............(en sous shell)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=&quot;/home/Bureau/1/in.txt&quot; ....... (en sous shell)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;dirname $var ........... ----&amp;gt; /home/Bureau/1&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo ${var%/*} ........... ----&amp;gt; /home/Bureau/1&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;basename ....... (en sous shell)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;basename $var ........... ----&amp;gt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo ${var##*/} ........... ----&amp;gt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while dans un sous shell (taper: sh)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo -en &quot;$line\n&quot;; done &amp;lt; in.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;while read line; do echo -e $line; done &amp;lt; in.txt&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;set&#39; decoupe 1 variable en parametres positionnels dans un sous shell (taper: sh)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;string=&quot;a b:c def:g&quot;; IFS=&#39;:&#39;; set $string; echo &quot;$1&quot;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;read ...$REPLY : equivalent de : head -1&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;read -r&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Contenu des dossiers sans les sous dossiers&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for fichier in *;do ls -al ;done&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Contenu des dossiers avec les sous dossiers&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;for fichier in *;do ls -al &quot;$fichier&quot;;done&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;nombre de fichiers dans le repertoire courant (equivaut a: ls|wc -l)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;a=0;for i in *;do a=$(($a+1));done;echo nb=$a&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;apostrophe et guillemet&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo -n &quot;your name is: &quot;; read name ........... #taper: toto&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &#39;hi $name&#39; ........... #resultat : hi name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;hi $name&quot; ........... #resultat : hi toto&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;par defaut, le separateur est &#39;blanc&#39;&lt;br /&gt;[Utiliser les parentheses () pour le sous shell]&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;echo &quot;moi et moi, lui, les autres&quot; | (read x y ;echo $y) ........... (-&amp;gt;lui les autres)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;nouveau séparateur&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;IFS=&quot;,&quot;;echo &quot;moi et moi, lui, les autres&quot; | (read x y;echo $x) ........... (-&amp;gt;moi et moi)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;liste des variables d&#39;environnement&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;export&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;detruire la valeur d&#39;une variable&lt;br /&gt;(utiliser un sous shell en tapant: sh + return)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=7 echo $var ........... -&amp;gt; 7&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;unset var ........... -&amp;gt; nothing&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Concatenation&lt;br /&gt;(utiliser un sous shell en tapant: sh + return)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;var=debut;echo ${var}ant ........... ----&amp;gt;debutant&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Commande &#39;set&#39; et &#39;shift&#39;&lt;br /&gt;(utiliser un sous shell en tapant: sh + return)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;c=&quot;prof eleve classe note&quot;;set $c;echo $1 $2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;........... ---&amp;gt;prof eleve&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;c=&quot;prof eleve classe note&quot;;shift;echo $1 $2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;........... ---&amp;gt;eleve classe&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Commande &#39;eval&#39;&lt;br /&gt;(utiliser un sous shell en tapant: sh + return)&lt;/span&gt;&lt;div style=&quot;background-color: #e0e0e0; border: thin solid; margin-left: 100pt; margin-right: 100pt; padding: 4pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;message=&quot;date d&#39;aujourd&#39;hui?&quot;;set $message;echo $# .......#resultat: 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;message=&quot;date d&#39;aujourd&#39;hui?&quot;;set $message;echo $1 .......#resultat: date&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;message=&quot;date d&#39;aujourd&#39;hui?&quot;;set $message;eval $1 .......#resultat: dim 20 jan..&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Dernière modification : Octobre 2013&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/5655725653710087546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/5655725653710087546'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2016/12/grep-awk-sed.html' title='grep - awk - sed'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-1126424199551606731</id><published>2016-12-13T11:02:00.000+01:00</published><updated>2016-12-13T11:02:41.052+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="astuces"/><category scheme="http://www.blogger.com/atom/ns#" term="awk"/><category scheme="http://www.blogger.com/atom/ns#" term="doublon"/><title type='text'>Mémo awk : comment identifier les doublons dans un fichier ?</title><content type='html'>&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Dans l&#39;exemple ci-dessous, le nom du fichier d&#39;entrée est &quot;in.txt&quot; :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 9pt; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 9pt; word-wrap: break-word;&quot;&gt;&lt;i&gt;&lt;span id=&quot;91096284.0&quot; style=&quot;font-family: Arial;&quot;&gt;awk &#39;FNR==NR &amp;amp;&amp;amp; a[$0]++ {b[$0] ; next} $0 in b&#39; in.txt in.txt&lt;/span&gt;&lt;span id=&quot;91096284.0&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 9pt; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 9pt; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 9pt; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Cette exemple retourne les lignes en double dans le fichier.&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1126424199551606731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1126424199551606731'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2016/12/memo-awk-comment-identifier-les.html' title='Mémo awk : comment identifier les doublons dans un fichier ?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6595098562440226478</id><published>2016-09-26T17:15:00.001+02:00</published><updated>2016-09-26T17:15:34.524+02:00</updated><title type='text'>A webmail to test</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.rainloop.net/&quot;&gt;http://www.rainloop.net/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6595098562440226478/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2016/09/a-webmail-to-test.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6595098562440226478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6595098562440226478'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2016/09/a-webmail-to-test.html' title='A webmail to test'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6754644924228298820</id><published>2015-06-15T14:53:00.001+02:00</published><updated>2015-06-15T14:53:06.750+02:00</updated><title type='text'>How to run android app on ubuntu with google chrome</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;1/ Install google Chrome&lt;div&gt;2/ Download and extract archon :&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://github.com/vladikoff/chromeos-apk/releases/download/v3.0.0/ARChon-v1.1-x86_32.zip&quot;&gt;https://github.com/vladikoff/chromeos-apk/releases/download/v3.0.0/ARChon-v1.1-x86_32.zip&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;3/ Launch Chrome, enable developer mode (chrome://extensions/)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;4/ Install packages :&lt;/div&gt;&lt;div&gt;sudo apt-get install npm&lt;/div&gt;&lt;div&gt;sudo apt-get install nodejs nodejs-legacy&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;sudo npm install -g chromeos-apk&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;5/ Download apk file and then convert it to archon format&lt;/div&gt;&lt;div&gt;chromeos-apk [filename] --archon&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Source : &lt;a href=&quot;https://plus.google.com/113807502367313499251/posts/JkRndRVqeoC&quot;&gt;https://plus.google.com/113807502367313499251/posts/JkRndRVqeoC&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6754644924228298820/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/06/how-to-run-android-app-on-ubuntu-with.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6754644924228298820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6754644924228298820'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/06/how-to-run-android-app-on-ubuntu-with.html' title='How to run android app on ubuntu with google chrome'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6164324639210130835</id><published>2015-06-12T17:37:00.001+02:00</published><updated>2015-06-12T17:37:07.565+02:00</updated><title type='text'>Do not track</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://episode6.donottrack-doc.com/fr/&quot; target=&quot;_blank&quot; style=&quot;font-size:12.8000001907349px&quot;&gt;https://episode6.donottrack-doc.com/fr/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6164324639210130835/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/06/do-not-track.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6164324639210130835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6164324639210130835'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/06/do-not-track.html' title='Do not track'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-720548422381767381</id><published>2015-06-12T17:36:00.001+02:00</published><updated>2015-06-12T17:36:33.232+02:00</updated><title type='text'>Premiers pas sur Hadoop</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://blog.xebia.fr/2013/06/28/votre-premiere-installation-hadoop/&quot;&gt;http://blog.xebia.fr/2013/06/28/votre-premiere-installation-hadoop/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/720548422381767381/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/06/premiers-pas-sur-hadoop.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/720548422381767381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/720548422381767381'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/06/premiers-pas-sur-hadoop.html' title='Premiers pas sur Hadoop'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-7037135149707155846</id><published>2015-03-24T10:00:00.001+01:00</published><updated>2015-03-24T10:00:01.798+01:00</updated><title type='text'>Khan Academy</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://fr.khanacademy.org&quot;&gt;https://fr.khanacademy.org&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/7037135149707155846/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/03/khan-academy.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/7037135149707155846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/7037135149707155846'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/03/khan-academy.html' title='Khan Academy'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-5849098716538066245</id><published>2015-03-11T22:51:00.001+01:00</published><updated>2015-03-11T22:51:03.548+01:00</updated><title type='text'>3D printer</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.reprap-france.com/&quot;&gt;http://www.reprap-france.com/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/5849098716538066245/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/03/3d-printer.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/5849098716538066245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/5849098716538066245'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/03/3d-printer.html' title='3D printer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6983038316002961463</id><published>2015-03-03T08:54:00.001+01:00</published><updated>2015-03-03T08:54:57.146+01:00</updated><title type='text'>Ubuntu Touch sur le OnePlus One</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://a.mynews.ly/!ID.CNIg3#.VPVoBDFjT7g.mailto&quot;&gt;http://a.mynews.ly/!ID.CNIg3#.VPVoBDFjT7g.mailto&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6983038316002961463/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/03/ubuntu-touch-sur-le-oneplus-one.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6983038316002961463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6983038316002961463'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/03/ubuntu-touch-sur-le-oneplus-one.html' title='Ubuntu Touch sur le OnePlus One'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-3327231166352707578</id><published>2015-02-26T21:26:00.001+01:00</published><updated>2015-02-26T21:26:08.412+01:00</updated><title type='text'>#méditation</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;Ces maudites volutes qui obscurcissent les esprits mentent à nos âmes comme la mort.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/3327231166352707578/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/meditation.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3327231166352707578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3327231166352707578'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/meditation.html' title='#méditation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-4636563541608507942</id><published>2015-02-24T18:12:00.001+01:00</published><updated>2015-02-24T18:12:31.264+01:00</updated><title type='text'>Nexus</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.sonatype.org/nexus/&quot;&gt;http://www.sonatype.org/nexus/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/4636563541608507942/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/nexus.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/4636563541608507942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/4636563541608507942'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/nexus.html' title='Nexus'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-1369119164834046605</id><published>2015-02-22T21:45:00.001+01:00</published><updated>2015-02-22T21:45:29.040+01:00</updated><title type='text'>Ubuntu touch dual boot</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://wiki.ubuntu.com/Touch/DualBootInstallation#Is_booting_into_recovery_no_longer_possible_when_dual-booting.3F&quot;&gt;https://wiki.ubuntu.com/Touch/DualBootInstallation#Is_booting_into_recovery_no_longer_possible_when_dual-booting.3F&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/1369119164834046605/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/ubuntu-touch-dual-boot.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1369119164834046605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1369119164834046605'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/ubuntu-touch-dual-boot.html' title='Ubuntu touch dual boot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6102061354584296073</id><published>2015-02-20T18:09:00.001+01:00</published><updated>2015-02-20T18:09:12.671+01:00</updated><title type='text'>Maven : Introduction</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www-igm.univ-mlv.fr/~dr/XPOSE2004/maven/Maven_Intro.htm&quot;&gt;http://www-igm.univ-mlv.fr/~dr/XPOSE2004/maven/Maven_Intro.htm&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6102061354584296073/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/maven-introduction.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6102061354584296073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6102061354584296073'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/maven-introduction.html' title='Maven : Introduction'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-9054884582208237438</id><published>2015-02-06T15:02:00.001+01:00</published><updated>2015-02-06T15:02:01.779+01:00</updated><title type='text'>Mumble</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.mumble.com/&quot;&gt;http://www.mumble.com/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/9054884582208237438/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/mumble.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/9054884582208237438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/9054884582208237438'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/mumble.html' title='Mumble'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-1312246949759072888</id><published>2015-02-06T15:00:00.001+01:00</published><updated>2015-02-06T15:00:25.190+01:00</updated><title type='text'>Teamspeak : quand l&#39;audio rentre chez irc</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.teamspeak.com/&quot;&gt;http://www.teamspeak.com/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/1312246949759072888/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/02/teamspeak-quand-laudio-rentre-chez-irc.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1312246949759072888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1312246949759072888'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/02/teamspeak-quand-laudio-rentre-chez-irc.html' title='Teamspeak : quand l&#39;audio rentre chez irc'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-3878251229690183619</id><published>2015-01-15T12:54:00.001+01:00</published><updated>2015-01-15T12:54:14.638+01:00</updated><title type='text'>10 Best Open Source HTML5 games Source Code</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://detechter.com/10-best-open-source-html5-games-source-code/&quot;&gt;http://detechter.com/10-best-open-source-html5-games-source-code/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/3878251229690183619/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2015/01/10-best-open-source-html5-games-source.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3878251229690183619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3878251229690183619'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2015/01/10-best-open-source-html5-games-source.html' title='10 Best Open Source HTML5 games Source Code'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-8420668292325761571</id><published>2014-12-09T12:16:00.001+01:00</published><updated>2014-12-09T12:16:30.669+01:00</updated><title type='text'>A beginner&#39;s guide to bash scripting -</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://techarena51.com/index.php/a-beginners-guide-to-bash-scripting/&quot;&gt;http://techarena51.com/index.php/a-beginners-guide-to-bash-scripting/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/8420668292325761571/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/12/a-beginners-guide-to-bash-scripting.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/8420668292325761571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/8420668292325761571'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/12/a-beginners-guide-to-bash-scripting.html' title='A beginner&#39;s guide to bash scripting -'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-3441525002638236554</id><published>2014-12-09T09:08:00.001+01:00</published><updated>2014-12-09T09:08:34.718+01:00</updated><title type='text'>40 Incorrectly Used Words That Can Make You Look Dumb | LinkedIn</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/article/20141203134446-20017018-40-incorrectly-used-words-that-can-make-you-look-dumb&quot;&gt;https://www.linkedin.com/pulse/article/20141203134446-20017018-40-incorrectly-used-words-that-can-make-you-look-dumb&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/3441525002638236554/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/12/40-incorrectly-used-words-that-can-make.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3441525002638236554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/3441525002638236554'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/12/40-incorrectly-used-words-that-can-make.html' title='40 Incorrectly Used Words That Can Make You Look Dumb | LinkedIn'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6816264566993817753</id><published>2014-12-01T08:46:00.001+01:00</published><updated>2014-12-01T08:46:52.163+01:00</updated><title type='text'>Les commandes Unix/Linux</title><content type='html'>&lt;p class=&quot;mobile-photo&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7DWrvWjhQxfIfdbS6yXwd6AQMWuGNcItcKl4p4b6Tbgt4HVGjt36kvr67h0cyY2g55C2KU1IOaNEdPm-rCWQi2SuSjgvekZhaB9ZE4-B6WiIZPfozMTX7mt45Pbca3LbZ9hnD8RgTlqB2/s1600/image-712164.jpg&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7DWrvWjhQxfIfdbS6yXwd6AQMWuGNcItcKl4p4b6Tbgt4HVGjt36kvr67h0cyY2g55C2KU1IOaNEdPm-rCWQi2SuSjgvekZhaB9ZE4-B6WiIZPfozMTX7mt45Pbca3LbZ9hnD8RgTlqB2/s320/image-712164.jpg&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_6087772598282711890&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6816264566993817753/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/12/les-commandes-unixlinux.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6816264566993817753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6816264566993817753'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/12/les-commandes-unixlinux.html' title='Les commandes Unix/Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7DWrvWjhQxfIfdbS6yXwd6AQMWuGNcItcKl4p4b6Tbgt4HVGjt36kvr67h0cyY2g55C2KU1IOaNEdPm-rCWQi2SuSjgvekZhaB9ZE4-B6WiIZPfozMTX7mt45Pbca3LbZ9hnD8RgTlqB2/s72-c/image-712164.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-6131076845567655682</id><published>2014-11-26T17:29:00.001+01:00</published><updated>2014-11-26T17:29:08.223+01:00</updated><title type='text'>Salesforce Workbench</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://workbench.developerforce.com/&quot;&gt;https://workbench.developerforce.com/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/6131076845567655682/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/11/salesforce-workbench.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6131076845567655682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/6131076845567655682'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/11/salesforce-workbench.html' title='Salesforce Workbench'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-1999143980097730303</id><published>2014-11-25T18:53:00.001+01:00</published><updated>2014-11-25T18:53:34.065+01:00</updated><title type='text'>Enregistrer le terminal Linux en vidéo avec TermRecord | Application (Linux) | IT-Connect</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://www.it-connect.fr/enregistrer-le-terminal-linux-en-video-avec-termrecord/&quot;&gt;http://www.it-connect.fr/enregistrer-le-terminal-linux-en-video-avec-termrecord/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/1999143980097730303/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/11/enregistrer-le-terminal-linux-en-video.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1999143980097730303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1999143980097730303'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/11/enregistrer-le-terminal-linux-en-video.html' title='Enregistrer le terminal Linux en vidéo avec TermRecord | Application (Linux) | IT-Connect'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-1818204955802862605</id><published>2014-11-21T11:17:00.001+01:00</published><updated>2014-11-21T11:17:07.408+01:00</updated><title type='text'>svn:ignore</title><content type='html'>http://fabienpoulard.info/post/2008/08/09/Indiquer-a-subversion-des-fichiers-a-ignorer-lors-du-svn-status</content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/1818204955802862605/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/11/svnignore.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1818204955802862605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/1818204955802862605'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/11/svnignore.html' title='svn:ignore'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-7538162756577939328</id><published>2014-08-22T09:49:00.001+02:00</published><updated>2014-08-22T09:49:23.982+02:00</updated><title type='text'>Un outil de stress d&#39;application : Gatling</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://gatling-tool.org/&quot; target=&quot;_blank&quot; style=&quot;font-family:arial,sans-serif;font-size:13px&quot;&gt;http://gatling-tool.org/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/7538162756577939328/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/08/un-outil-de-stress-dapplication-gatling.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/7538162756577939328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/7538162756577939328'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/08/un-outil-de-stress-dapplication-gatling.html' title='Un outil de stress d&#39;application : Gatling'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-438617504231653023.post-4813091344052933623</id><published>2014-08-21T11:10:00.001+02:00</published><updated>2014-08-21T11:10:51.256+02:00</updated><title type='text'>Sondage Distributions | Ma Vie Linux</title><content type='html'>&lt;p&gt;&lt;a href=&quot;http://mavielinux.com/sondage-distributions-2/&quot;&gt;http://mavielinux.com/sondage-distributions-2/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ligne.blogspot.com/feeds/4813091344052933623/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://ligne.blogspot.com/2014/08/sondage-distributions-ma-vie-linux.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/4813091344052933623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/438617504231653023/posts/default/4813091344052933623'/><link rel='alternate' type='text/html' href='http://ligne.blogspot.com/2014/08/sondage-distributions-ma-vie-linux.html' title='Sondage Distributions | Ma Vie Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>