Aurelio Jargas

aurelio.net · Personal blog · on HN since 2010

Aurelio Jargas is a Brazilian programmer who writes about sed, regular expressions, shell scripting, and small tools like txt2regex.

What HN saysHN commenters recommend txt2regex as a regex wizard and praise his Portuguese Bash cheat sheet as the best they have seen.
18HN people shared it
12linked it in comments
6stories submitted
8story points
3 years agolast shared
2010people per year2026

Most-shared posts

  1. 1
    Sedsokoban
    6 people · first shared 2014
  2. 2
  3. 3
  4. 4
    Sedarkanoid
    3 people · first shared 2015
  5. 5
    AppleScript for Python Programmers
    1 people · 2 points · first shared 2010 · discussion on HN
  6. 6
    AppleScript for Python Programmers
    1 people · 1 points · first shared 2020 · discussion on HN
  7. 7
    Canivete
    1 people · first shared 2018
  8. 8
    Txt2regex
    1 people · first shared 2012
  9. 9
    Sedsokoban
    1 people · first shared 2011
  10. 10
    Shell reference
    1 people · first shared 2023
  11. 11
    Dropbox symlinks
    1 people · first shared 2019

What HN people wrote when they linked it

icebraining · 2019-06-12
I guess you're doing it the way liyanage prefers. Dropbox, on the other hand, follows symlinks: https://aurelio.net/articles/dropbox-symlinks.html
guhcampos · 2018-01-21
Portuguese speakers have counted for a long time with this gem, simply the best Bash doc/cheat sheet I've ever seen on the web. This is probably my oldest bookmark still relevant after 15 years. It's in portuguese and I'm not sure if there's an official translation, yet it's easy enough to decipher if you know bash, and Google Translate will do a pretty decent job. I gift you "Aurelio's Swiss Army Knife of the Bash Shell" - http://aurelio.net/shell/canivete/
dfc · 2013-07-06
While not a visual tool I highly recommend txt2regex[1]. It is a regex wizard that helps you build regexs for a number of different environments. It supports: a) -awk m) -mysql b) -ed n) -ooo c) -egrep o) +perl d) -emacs p) +php e) -expect q) +postgres f) -find r) -procmail g) -gawk s) +python h) -grep t) +sed i) -javascript u) -tcl j) -lex v) -vbscript k) -lisp w) -vi l) -mawk x) +vim [1] http://aurelio.net/projects/txt2regex/
saurik · 2021-11-12
There are a ton of little errors in this post (at the time of my leaving this comment, of course): the variable delimiter example is missing the close _, the first word example is missing the open ', and the except line 5 example is missing a space; meanwhile, these snippets will cause bad habits, such as thinking about "words" as "things involving letters", using -r instead of -E, and a massive knowledge gap with respect to appropriate use of semicolons... I'm also really confused as to why sed is suddenly "s" in one of the examples. This just isn't a very good reference, and I'm not sure if the author thinks about how "c" works, but it really needs a \ afterwards, no matter what the one specific version of sed you are using might allow :/. As someone who loves sed so much he nigh unto regrets how much he uses it: "beware". FWIW, I'd argue that the path to true sed mastery eventually goes through the hold space, which isn't mentioned here. For some real fun, and an exercise that might change how you mentally model what sed is capable of, check out SedSokoban. https://aurelio.net/projects/sedsokoban/
B1FF_PSUVM · 2023-10-17
mftrhu · 2023-08-07
And also, by the same author, SedArkanoid https://aurelio.net/projects/sedarkanoid/
dyingkneepad · 2023-01-27
bewuethr · 2018-01-22
Aurelio is the madman/genius behind Arkanoid in sed[1], Sokoban in sed[2] and sedsed, a sed debugger[3]. I have no trouble believing that he has a few shell tricks up his sleeve. [1]: http://aurelio.net/projects/sedarkanoid/ [2]: http://aurelio.net/projects/sedsokoban/ [3]: http://aurelio.net/projects/sedsed/
abecedarius · 2014-06-27
I wrote that, and I gotta say sed is a much crazier target. More sed fun: http://aurelio.net/projects/sedsokoban/
caioariede · 2014-03-25
There is Sokoban in sed too. For who is interested in other games written in sed. http://aurelio.net/projects/sedsokoban/

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close