[{"data":1,"prerenderedAt":324},["ShallowReactive",2],{"project-22758217":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":38,"post_text":40,"what":41,"said":72,"maker_in_thread":154,"shape":166,"grid":171,"attempts":287,"same_week":288,"maker_shows":272,"maker_hidden":316,"reader_version":317,"card":318},"22758217","Learn GNU Awk one-liners ebook","An eBook with hundreds of GNU Awk one-liners","title","Show HN: An eBook with hundreds of GNU Awk one-liners",null,"asicsp",1585830530,2020,539,48,37,3028,2,"legend","languages","ebook on awk one-liners","other",[23,24,25,26],"gnu awk","awk one-liners","awk tutorial","regular expressions","loved",0.4,{"positive":30,"neutral":31,"mixed":32,"critical":33},7,3,0,1,11,{"design":36,"idea":37},{"positive":32,"critical":33},{"positive":31,"critical":32},[33,32,32,39,32,32,32,32,32,32,32,31,32,32,32,32,32,32,32,32,32,32,32,39,32,39,32,32,39,39,32,32,32,32,39,31,32,32,32,31],5,"Hi,\n\nI recently published my ebook on GNU awk one-liners [1]. It starts from the basics of awk syntax and then discusses one-liner examples. There's a chapter on regular expressions as well. The github repo has the details on how to get the PDF version, all the example files and code snippets used in the book, sample chapters as well the markdown source used to generate the PDF.\n\nI made all my ebooks [2] free last month amidst the pandemic fears. These include GNU grep & ripgrep, GNU sed and three books on regular expressions (Python, Ruby, JavaScript).\n\nI'd appreciate your feedback and hope t",{"problem":42,"audience":9,"pricing":48,"motivation":55,"time_to_build":9,"stack":60,"openness":69,"stage":70,"team_size":71},{"value":43,"source":44,"evidence":45},"Learning GNU awk text processing through one-liner examples","maker",[46],{"id":47},"post",{"value":49,"source":44,"evidence":50},"Free",[51,52],{"id":47},{"id":53,"by":10,"text":54},"22766371","Yeah, these are troubling times for sure. I was about half way done with the book when things became serious in my country early March. I did think about delaying the release but…",{"value":56,"source":44,"evidence":57},"Maker wanted to share awk knowledge and offered books free during pandemic",[58,59],{"id":47},{"id":53,"by":10,"text":54},[61,65],{"value":62,"source":44,"evidence":63},"GNU awk",[64],{"id":47},{"value":66,"source":44,"evidence":67},"Markdown source used to generate PDF",[68],{"id":47},"free","launched","solo",{"praise":73,"objections":93,"requests":105,"questions":134,"alternatives":139},[74,86],{"value":75,"source":76,"evidence":77},"Useful for learning awk and command line tools","commenter",[78,82],{"id":79,"by":80,"text":81},"22759477","Koshkin","This is great. Studying the work of masters is the best way to learn a trade.",{"id":83,"by":84,"text":85},"22759096","davidcollantes","Thank you very much for this. My partner lost her job, and she will use your books to help her on a new carrier path.",{"value":87,"source":76,"evidence":88},"Nice that classic Unix tools get attention",[89],{"id":90,"by":91,"text":92},"22759918","tannhaeuser","I always like when classic lean-and-mean Unix tools get attention, as opposed to big language ecosystems. Speaking of which, is there a particular reason why only gawk is…",[94,98],{"value":95,"source":76,"evidence":96},"Covers only gawk, not portable POSIX awk",[97],{"id":90,"by":91,"text":92},{"value":99,"source":76,"evidence":100},"Unix tools seen as brittle and slow",[101],{"id":102,"by":103,"text":104},"22764703","gridlockd","I don't see Unix tools as lean and mean, but as brittle and slow. It's never just a \"one liner\", you end up piping text data through dozens of programs with inconsistent…",[106,113,123],{"value":107,"source":76,"evidence":108},"A POSIX awk version of the book",[109],{"id":110,"by":111,"text":112},"22761194","jph","Purchased! Thank you for writing these. My wishlist is for a POSIX awk version of your book.",{"value":114,"source":76,"evidence":115},"An epub version",[116,120],{"id":117,"by":118,"text":119},"22759099","ojagodzinski","epub version will by available?",{"id":121,"by":10,"text":122},"22759232","Some others have asked for an epub version too. I have this article [1] bookmarked, so if it goes well, I'll add epub as well this month. If you know pandoc, you could use the…",{"value":124,"source":76,"evidence":125},"Perl one-liners book",[126,130],{"id":127,"by":128,"text":129},"22759113","Congeec","Is there any equivalents of perl one-liners?",{"id":131,"by":132,"text":133},"22763004","collyw","I want a Perl one. I never saw the need to do AWK because I knew Perl fairly well. In saying that the youngsters should learn some of these old school tools. Python is a nice…",[135],{"value":136,"source":76,"evidence":137},"Why only gawk is covered",[138],{"id":90,"by":91,"text":92},[140,147],{"value":141,"source":76,"evidence":142},"Perl one-liners book by no starch press",[143],{"id":144,"by":145,"text":146},"22760089","celias","no starch press sells a Perl One Liners book. https:\u002F\u002Fnostarch.com\u002Fperloneliners",{"value":148,"source":76,"evidence":149},"catonmat Perl one-liners",[150],{"id":151,"by":152,"text":153},"22765324","exikyut","https:\u002F\u002Fcatonmat.net\u002Fftp\u002Fperl1line.txt ?",{"comments":30,"answered":155,"key":156},4,[157,160,163],{"id":158,"text":159},"22760108","Agree about portability issues. I cover only gawk, because I don't know all the differences between various versions. This started as a chapter in my command line text processing…",{"id":161,"text":162},"22758590","impressive, if I use -o option to get a pretty printed version, it comes to 68 lines",{"id":164,"text":165},"22765560","Someone else already asked for perl one-liners in this thread. I started with command line text processing repo [1] about three years back. That has a chapter on…",{"commenters":167,"max_depth":168,"maker_replies":30,"first_comment_mins":169,"lifespan_hours":170},33,8,39,57,[172,174,176,180,184,187,189,191,193,196,199,201,203,205,209,211,214,215,218,220,222,223,226,229,232,235,236,237,240,242,245,246,249,250,252,256,257,260,262,263,266,267,271,273,274,277,281,283],[90,32,33,173,91,32],"project\u002Fcritical\u002Fdesign",[158,32,32,175,10,33],"maker\u002Fneutral\u002Fnone",[177,32,32,178,179,32],"22767549","commenter\u002Fneutral\u002Fnone","strenholme",[181,32,39,182,183,32],"22760185","project\u002Fpositive\u002Fidea","kick",[185,32,32,178,186,32],"22760802","oefrha",[188,32,32,178,183,32],"22761808",[190,32,32,178,186,32],"22761869",[192,32,32,178,183,32],"22762613",[194,32,32,178,195,32],"22763537","justwalt",[197,32,32,178,198,32],"22764337","twic",[200,32,32,178,195,32],"22781570",[202,32,32,178,179,32],"22773528",[102,32,32,204,103,32],"other\u002Fneutral\u002Fnone",[206,32,31,207,208,32],"22764852","project\u002Fneutral\u002Fnone","Mediterraneo10",[210,32,32,204,91,32],"22769902",[212,33,32,204,213,32],"22758484","tyingq",[161,33,32,204,10,33],[216,33,32,204,217,32],"22758958","obituary_latte",[219,33,32,178,213,32],"22760370",[221,33,32,178,217,32],"22765204",[131,17,32,204,132,32],[224,17,32,204,225,32],"22763180","7thaccount",[227,17,32,204,228,32],"22765051","calvinmorrison",[230,17,32,178,231,32],"22765143","mehrdadn",[233,17,32,178,234,32],"22765606","anotheraccountf",[151,17,32,204,152,32],[164,17,32,175,10,33],[238,17,39,182,239,32],"22766039","Scarbutt",[241,17,32,178,132,32],"22766953",[243,17,32,204,244,32],"22766493","fernly",[79,31,39,182,80,32],[247,155,32,204,248,32],"22760462","GeorgeTirebiter",[53,155,32,175,10,33],[110,39,39,251,111,32],"project\u002Fpositive\u002Fnone",[253,254,39,251,255,32],"22766102",6,"serf",[127,30,32,204,128,32],[258,30,32,204,259,32],"22759179","stevekemp",[261,30,32,175,10,33],"22759182",[144,30,32,204,145,32],[264,30,32,204,265,32],"22760966","bewuethr",[83,168,39,251,84,32],[268,269,39,251,270,32],"22758653",9,"kbr2000",[117,272,31,207,118,32],10,[121,272,32,175,10,33],[275,34,32,204,276,32],"22763022","spsrich2",[278,279,32,204,280,32],"22759356",12,"waynesonfire",[282,279,32,175,10,33],"22759494",[284,285,31,175,286,32],"22759678",13,"kirubakaran",[],[289,294,298,303,308,312],{"id":290,"name":291,"points":292,"category":293},"22811653","FalsiScan",770,"productivity",{"id":295,"name":296,"points":297,"category":19},"22776753","33 line React",418,{"id":299,"name":300,"points":301,"category":302},"22790425","DNS over Wikipedia",398,"dev_tools",{"id":304,"name":305,"points":306,"category":307},"22777397","Treendly",343,"web_saas",{"id":309,"name":310,"points":311,"category":302},"22763656","Pdf.js Express",334,{"id":313,"name":314,"points":315,"category":293},"22818300","Online Town",261,false,"v2",{"id":319,"name":5,"line":6,"ai":316,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":28,"top":17,"kw":320,"maker":10,"domain":321,"tier":18,"attempts":32,"strip":322,"url":-1,"mix":323,"praise":75,"objection":95,"sub":20},22758217,[23,24,25,26],"","1005000000030000000000050500550000530003",[30,31,32,33],1793991006289]