Skip to content

This repository contains some use useful scripts I've been creating.

Notifications You must be signed in to change notification settings

maxgonzaga/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

bash-scripts

This repository contains some use useful scripts I've been creating.

Install

git clone https://github.com/maxgonzaga/bash-scripts
cd bash-scripts

snake

./snake file...

This scripts performs the following actions on each file it is given:

  • Replace parenthesis, underscores, spaces, commas and periods with a single dash;
  • Replace a lowercase letter followed by an uppercase letter with the same letters separated by a dash.
  • Remove single quotes;
  • Change the filename to lowercase;
  • Replace characters with diacritics with the corresponding ASCII ones. If a character can not be represented in the ASCII set, it will be replaced with a similar looking character.

geminus

./geminus.sh <file1> <file2> <outfile>

Remove words found in file2 from file1 and save output to outfile.

About

This repository contains some use useful scripts I've been creating.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages