minishell's People
minishell's Issues
ミニセルの中でミニシェルを起動させる、 export バグ直す。
[unset $PATH]を実行した際に、メモリリークが発生しました。
t_dirをg_dirに変更
redir free 問題
cat sss << helloでセグフォ
exportで環境変数のみを追加して、exportコマンドで確認した際に追加した環境変数が追加されていませんでした。
ctrl+\の挙動
$PATH の設定を解除しても、コマンドが動作してしまう
error処理の統一
echo -n と "" '' の展開
cd <存在しないfile> →exitしてしまう
Redirectの実装
redirのfileのパーミッションを確認する。
@kknowk
パーミッションを確認する関数をexecutionのredirect.cにあるコメントアウトに貼り付けて欲しいです
lexer
変数展開の位置
ctrl+CとEnterでexitしてしまう
ls >> a.txt ./minishellが抜けてしまう
シングルクォーてションの時に、環境変数が展開されていました。
env -i ./minishell で環境変数なしで実装できるかどうか
lexerで引数がquotedのとき後ろに空白なく続く場合は1つにくくる
parser
リダイレクトのシンタックスエラーの時に、エラーナンバー258
catコマンドの入力状態の時に、ctrl+\を押した際、入力状態が終了しませんでした。
parserのエラー処理
appendができない
exportコマンドで環境変数の値を上書きした際に、メモリリークが発生していました。
> file1 > file2 > file3の挙動ができていない
echo ""$HOME" みたいな時に、セグフォしてしまう
cat << a > a でセグフォ
コマンドラインを入力し、ctrl-C を使用して「Enter」を押して、./minishellが閉じる
> fileができない
strtok の作成
自作したい
/bin/ls <存在しないfile>でエラー番号"0"
$USER 単体のとき、$?が続くとき
lexer_error
export のリークが直らないです。
lsのリダイレクトができない
ls: >: No such file or directory
test
test
ctrl-C, ctrl-D, ctrl-\の処理追加
echo helloの出力が2重で行われている件
makeできない問題
実行周りのコードを改善したい
IO numberの実装いる??
redirが複数ある時に思った挙動しない
node->redir->next->next...
というようにどんどん先に進めたいがどこに保存されているんだ??
token の free の仕方
heredocumentで終了文字を入力した際に、minishellも終了していました。
空の['']と[""]のコマンドを実行した際に、メモリリークが起こりました。
$? str
$?の後ろに何かあるとバグる
echo"hello"のbashの挙動が想像と違った
$ echo"hello"
bash-> echohello
mylexer-> echo "hello"
filenameを変数展開
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.