Code Monkey home page Code Monkey logo

mosef-projet-2019's Introduction

Projet M2 MoSEF-Linux

Projet Linux dans le cadre du M2 MoSEF (Université de Paris 1 Panthéon Sorbonne)

Objectif

L'objectif de ce programme est de permettre à l'utilisateur de rechercher dans un répertoire bien déterminé, les fichiers qui correspondent à un pattern qu'il aura lui meme définit. L'utilisateur pourra également rechercher uniquement les fichiers qui contiennent au moins une ligne correspondant à un pattern.

Démo

Afin de lancer le script, il suffit d'ecrire la ligne suivante sur le terminal.

$./search_fichiers_sh pattern1 pattern2

Afin d'illustrer les fonctionnalités du script, un répertoire Test a été créé. Celui ci contient quelques fichiers de test.

Voici un exemple de l'execution de la premiere partie du script avec uniquement un argument qui correspond au pattern des fichers à rechercher.

alt_text

Voici un deuxième example avec l'ajout d'un second argument permettant de sélectionner uniquement les fichiers qui contiennent au moins une ligne avec le pattern 2.

alt_text

mosef-projet-2019's People

Contributors

sneibam avatar ambalde avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.