Skip to content

Week 2 homework - textEditorTS is a word processing tool based on Sed from Unix SO build using Typescript in nodeJs.

Notifications You must be signed in to change notification settings

Agustin07/textEditorTS

Repository files navigation

  • textEditorTS is a word processing tool based on Sed from Unix SO.

  • Commands availables:

    -[option] [Substitution command] [file]

    • options: -n, -i, -e
    • Substitution command: s/expreg/substitution string/flag
    • file: a .txt file is needed
    • flags availables: p,g,I,w

    -[option] [script] [file]

    • options: -f
    • script: a .sed file is needed
    • file: a .txt file is needed
  • Script content format: s/expreg/substitution string/flag s/expreg/substitution string/flag s/expreg/substitution string/flag

Known issues: You shoudn't use two or more options for one substitution commmand at the same time. Something like: node dist/index.js -n -e 's/o/0/' test.txt woundn't work!

Find some substitution commands you should try on: subscommands.txt

About

Week 2 homework - textEditorTS is a word processing tool based on Sed from Unix SO build using Typescript in nodeJs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published