Coder Social home page Coder Social logo

minishell's Introduction

👋 Hi there

Top Languages Card

🚀 École 42 Projects Overview

hhagiwar's 42 stats

On-campus portfolio service

  • 📁 Funcy: sharing portfolios within the university.

hachathon

minishell's People

Contributors

hairo88 avatar justhiro55 avatar

Watchers

 avatar

minishell's Issues

シグナルの実装

  • ctrl-C displays a new prompt on a new line.
  • ctrl-D exits the shell.
  • ctrl-\ does nothing

修正箇所

  • 変数展開の ? の値 status
  • exit ""のエラー出力
  • シグナルでinfo->statusの値変える
  • 直せそうだったらシグナルの表示
  • 引数のダブルクオート, シングルクオートの中で> < | $, 空白で弾かないようにする
  • 引数が多い時のenvのエラーメッセージ
  • export _test=test
  • bash: export:'=test': not a valid identifier
    bash: export:'=test': not a valid identifier
  • export test=""
  • env -iの時にexport
  • 引数ない時のcdの出力
  • pwdで出力あった時の処理
  • unset pathした時のcommand not found

変数展開

環境変数envのkeyと一致する入力をvalueに置換する

builtin修正

  • export実行してもenvに反映されない
  • 適切な返り値の設定
  • 引数なしのexport実行時の挙動

レビュー修正箇所

  • スペースのみの返り値が1
  • cat ^C とか ^\
  • / のみの時にis a directory
  • コントロールCの返り値
  • env -i ./minishellの時の挙動(exportすると初期の環境変数が消える)、リーク(env, export)
  • コマンド実行時に左から右の順序で実行されるようにする
  • minishellの中でminishell開いたときのexitのstatus
  • フォルダか確認 stat
  • クオートで囲われている時の処理

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.