dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 267ed0986ea41baf2a67956043fdf04bf79d25c7
parent 734f1261572d1c15f04ba0ae375731810864bffc
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 10 Aug 2022 00:09:09 +0200

strip-html-tags: change shebang

Diffstat:
Mscripts/strip-html-tags | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/strip-html-tags b/scripts/strip-html-tags @@ -1,4 +1,4 @@ -#!/usr/local/bin/ruby +#!/usr//bin/env ruby text = File.read("text.txt") newtext = text.gsub(/<\/?[^>]+(>|$)/, "") File.open("text.txt","w") { |file| file.puts newtext}