Skip to content

Commit

Permalink
sources
Browse files Browse the repository at this point in the history
  • Loading branch information
NotaInutilis committed Dec 6, 2023
1 parent 96f3e4f commit f509681
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ./scripts/update.sh

# Cleanup sources (same code in import.sh)
## Normalizes URLs into domains: lowercases, remove leading spaces, protocol (`x://`) `www.` subdomains, everything after `/`, only one space before `#`. Keeps comments intact
## Normalizes URLs into domains: lowercases, remove leading spaces, protocol (`x://`), `www.` subdomains, everything after `/`, only one space before `#`. Keeps comments intact
find ./sources -type f -name "*.txt" -exec sed -ri 'h; s/[^#]*//1; x; s/#.*//; s/.*/\L&/; s/^[[:space:]]*//i; s/^.*:\/\///i; s/^[.*]*//i; s/^www\.//i; s/\/[^[:space:]]*//i; s/[[:space:]].*$/ /i; G; s/(.*)\n/\1/' {} \;
## Remove duplicate domains from each source file (keeps repeated comments and empty lines for organization)
find ./sources -type f -name "*.txt" -exec bash -c '
Expand Down
1 change: 1 addition & 0 deletions sources/Lobbies/Capitalists/Canada.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
iedm.org
1 change: 1 addition & 0 deletions sources/Lobbies/Capitalists/France.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
http://www.entrepreneurjunior.org
2 changes: 2 additions & 0 deletions sources/Lobbies/Capitalists/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Entrepreneurship, free market, industry before ecology… All packaged in a "scientific" manner with financing from private industries.
Generally reactionnary, quasi libertarian, complete nonsense regarding social and economical issues.

0 comments on commit f509681

Please sign in to comment.