1416 links
  • Animal
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
1 results tagged Insertion x
  • bash - How to grep for tabs without using literal tabs and why does \t not work? - Ask Ubuntu

    L'astuce du jour.

    J'ai un fichier comportant trois colonnes, et structuré de cette manière:
    Nom Prénom DateDeNaissance

    Le séparateur de colonnes est une tabulation.

    Question: comment construire la regexp correcte dans un terminal, pour décrire ce fichier (dans sed ou grep par exemple)?

    En effet, il n'est pas possible de "juste" taper sur la touche tabulation. Rien ne se produit.
    Pour intégrer la tabulation il faut:
    1) Appuyer sur les touches CTRL + V. Cela informe le terminal que la prochaine touche devra être prise "littéralement".
    2) Appuyer sur la touche tabulation. Celle-ci est alors inséree dans la ligne de commande comme n'importe quel autre caractère.

    Voilà

    PS: Je sais maintenant pourquoi un CTRL+V dans un terminal ne "colle" pas le presse-papier.

    Wed May 24 04:04:05 2017 * - permalink -
    QRCode
    - https://askubuntu.com/questions/53071/how-to-grep-for-tabs-without-using-literal-tabs-and-why-does-t-not-work
    askubuntu.com Astuce Bash Insertion Linux Tabulation Terminal
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation