Skip to content

algumas utilidades pra facilitar a vida do arigó

Notifications You must be signed in to change notification settings

dogasantos/cmd-tools

Repository files navigation

uniquelines.go

Show lines that are present on file 1 but are not present in file 2 (line orde does not matter)

letters.go

Remove anything but letters (a-z) from strings (use with pipe) ex: cat text.txt |letters

noschars.go

remove special chars from strings (use with pipe)

numbers.go

display only numbers in strings (use with pipe)

ex:

$ cat file.txt
A331
this is a numeber: 44
nothing
more nothing @

$ cat file.txt|numbers
331
44

tolower.go

lower everything (pipe)

toupper.go

upper everything (pipe)

filterlines.go

read two files and remove from the first file any content present in the second file (non destructive, it just print the result to stdout)

filterips.go

take text as input and prints out just found ip addressess and/or ports along with ips:

About

algumas utilidades pra facilitar a vida do arigó

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published