Skip to content

nikita-tomilov/hawk

Repository files navigation

hawk

A simple clone of awk, written in C with lex&yacc

Requirements:

  • gcc
  • lex and yacc (lex and bizon are supported)

How-to:

  • Download
  • Make
  • Enjoy

Supported features:

  • Pre-built variables $0..$9, NR, RS, FS, ORS, OFS
  • if, if-else, while
  • Maths
  • print(), println()
  • String split, regexp

Command-line parameters

  • -v - Verbose
  • -e <script> - run <script>
  • -f - run script in file

Coming soon

No idea what to add =(

About

Hotaro's AWK - a small student project of making a simple awk clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors