HackerTrans
TopNewTrendsCommentsPastAskShowJobs

charsi

no profile record

comments

charsi
·4 года назад·discuss
Also look at `yq` - https://github.com/mikefarah/yq

This is a wrapper to jq that also supports yaml and other file formats.
charsi
·5 лет назад·discuss
Okay I'll give up for now. There are really no spaces in front of the lines. In pastebin if you check the raw version you'll see they are tabs. Which get stripped out because I added a `-` before eof. Providing the file manually to flex also produces the same gibberish for me.
charsi
·5 лет назад·discuss
new pastebin. Had a typo in the old one- https://pastebin.com/4j9Z3eCc
charsi
·5 лет назад·discuss
This is the script I am running - https://pastebin.com/65GxJ9i9. The - after << ignores the tabbed indents in heredoc.

This is what it produces for me when I run `lexit.sh us.yahoo.com` - https://stuff-storage.sfo3.digitaloceanspaces.com/ee.txt
charsi
·5 лет назад·discuss
Care to mention what you are using for your hobby project?
charsi
·5 лет назад·discuss
I tried this but ended up with gibberish in my terminal. Also couldn't find an explanation for -a on flex's man page. I've never used the thing before.