Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

matheuss/bawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bawk

awk, but better

Why?

I got sick of writing awk '{print $1}' all day long 😑

Installation

Install import and then add the following to your .zshrc/.bashrc/etc:

import matheuss/bawk

Example

#!/usr/bin/import
import matheuss/bawk

# get the first "word"
echo a b c | bawk 1

Usage

~ cat > test.txt <<EOF
a b c
EOF~ cat test.txt | bawk 1
a
▲ ~ cat test.txt | bawk 2
b
▲ ~ cat test.txt | bawk 3
c

About

`awk`, but better

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages