Skip to content

[DEV] expand 확장 구현 #35

@taerakim

Description

@taerakim

Summary

Expand, 확장을 구현합니다.

Description

  • tokenizer 중간에 word type끼리 ft_strjoin하기전에 확장을 진행합니다.
  • 실행직전 execute_command종류 함수의 가장 첫 번째 단계로 진행합니다.
  • $뒤의 문자를 이름으로 하여, 환경변수 중 일치하는 것과 대치시킵니다. 일치하는 것이 없다면 빈문자열로 대치됩니다.
  • $$NAME처럼 연속될 시에 $는 해석하지 않고 문자로 사용합니다. $NAME만 대치됩니다.
    • bash는 $$를 shell pid로 해석하지만, allow funct중에 pid를 구할 방법은 없습니다

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions