From 7742fce2306c89d7e45ec2b29125f67836804040 Mon Sep 17 00:00:00 2001 From: AlejandroS Date: Sun, 22 Jul 2018 00:48:34 -0700 Subject: [PATCH] fixed bad blockquotes --- markdown/post/bash-1.md | 6 ++++-- post/bash-1.html | 12 +++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/markdown/post/bash-1.md b/markdown/post/bash-1.md index 93193b1..4ae64b8 100644 --- a/markdown/post/bash-1.md +++ b/markdown/post/bash-1.md @@ -20,10 +20,12 @@ Just use that alias in your bashrc and you're good to go. ## Rambled guess time My guess on how the alias is that bash doesn't try to figure out that you want to use `vim` since you've only typed a single `v` in this case; therefore tab-completion would go unnoticed?\ -Say you had a directory with files: \ +Say you had a directory with files: + > first \ > second \ -> third \ +> third + That would mean if your shell contained `asdf`. You could go to the first character start typing any one of those file names and have bash guess the filename to autocomplete, since it only look backwards for completion. ### Where be the posts diff --git a/post/bash-1.html b/post/bash-1.html index 92ca09e..c9fd2f5 100644 --- a/post/bash-1.html +++ b/post/bash-1.html @@ -23,11 +23,13 @@ I'm not really sure why that works, but I'm just glad it does. If you've ever ne Just use that alias in your bashrc and you're good to go.

Rambled guess time

My guess on how the alias is that bash doesn't try to figure out that you want to use vim since you've only typed a single v in this case; therefore tab-completion would go unnoticed?
-Say you had a directory with files:
-> first
-> second
-> third
-That would mean if your shell contained asdf. You could go to the first character start typing any one of those file names and have bash guess the filename to autocomplete, since it only look backwards for completion.

+Say you had a directory with files:

+
+

first
+second
+third

+
+

That would mean if your shell contained asdf. You could go to the first character start typing any one of those file names and have bash guess the filename to autocomplete, since it only look backwards for completion.

Where be the posts

Lately I've been working on a translator for html. Similar to how pandoc turns markdown into valid html which lead me onto another issue that I've also taken on since I've not much to do.
Specifically it's looking into GCC's seemingly random behavior with switch cases. Essentially GCC will sometimes create a decision tree for a slightly faster search time through the cases, sometimes create the equivalent of linearly executable code(like a bunch of if/else's), and if given the opportunity "guess" the correct case on the first check... For that reason I've started diving into it to try and determine what the fug is going with this compiler and what flags, if any can be used to create some more predictable output. Hopefully the research crops up something interesting to think but who knows 🤷.