Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Banaliser une chaine

Featured Replies

Posté(e)

Bonjour ;

Svp je voudrai une aide :

je veux pouvoir exeuter ce genre de commande :

grep -i fichier

// je veux chercher si "-i" exiscte dans le fichier ou pas

quand je lance cette commade le systeme attend quelque chose au lieu d"executer la commande

il considere n'importe quel argument precedé par un - comme parametre a lui .

j'ai essayer

grep "-i" fichier

grep '-i' fichier

et ca marche toujours pas ...

Aide svp ...

sinon s'il ya une commande qui permette de manipuler des chaines sous unix si c possible

et merci

Posté(e)
-E, --extended-regexp

Interpréter le MOTIF comme une expression rationnelle étendue (voir ci-dessous).

-e MOTIF, --regexp=MOTIF

Utiliser le MOTIF indiqué. Ceci permet de protéger les motifs commençant par « - ».

theo@dns~ echo "ce fichier contient un -i dans une chaîne" > /tmp/fichier
theo@dns~ grep -e -i /tmp/fichier
ce fichier contient un -i dans une chaîne

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.