Coder Social home page Coder Social logo

42sh's Introduction

42SH

-Edition de ligne

-copier/coller

-Job control

-Historique

-Sauvegarde de l'historique

-Alias

-Backquotes(`)

-Variable

-Inhibiteurs (")

-Fichier de conf

-Prompt modifiable

-Clear

-Globing (tab et {.c,.h})

-evenement (!nbr, !!) (???)

-source

-redirection en choisissant le FD

42sh's People

Contributors

izissise avatar lodow avatar remirobert avatar tastyep avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

42sh's Issues

Free all

Str to wordtab as ptr malloc after NULL ptr

Do redirection

Where to do it is marcker with the comment: ///check here for redirection
src/process_group.c:46

Also do it in 2 pass, first check if there some "< << > >>" set some kind of flag and then open files if the command exist, ask me for more info.

Load a conf file

Store alias in t_sh.alias tab
Pwd in PS1 env var
Other stuff where you want

Exit la lib std

==14838==
==14838== Source and destination overlap in strncpy(0x5427337, 0x5427338, 23)
==14838== at 0x4C2BF82: strncpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14838== by 0x401DC3: my_strncpy_force (str_to_wordtab.c:27)
==14838== by 0x40179E: del_slash_quote (inib_str_to_wordtab.c:26)
==14838== by 0x40222E: str_to_wordtab (str_to_wordtab.c:126)
==14838== by 0x403643: export_set (load_conf.c:28)
==14838== by 0x40378B: new_conf_set (load_conf.c:63)
==14838== by 0x403824: load_conf_file (load_conf.c:88)
==14838== by 0x4012B3: init_shell (main.c:45)
==14838== by 0x40134C: main (main.c:58)
==14838==

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.