home.social

#awk — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #awk, aggregated by home.social.

  1. No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠

    #awk #gnu

  2. No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠

    #awk #gnu

  3. No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠

    #awk #gnu

  4. No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠

    #awk #gnu

  5. No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠

    #awk #gnu

  6. @ctatwork not fun but I guess a huge part of this is scriptable. I just need to get back to #awk or #sed I guess to get things to go smoother...

    But I’ll only do that for the stable version of OmegaT.

    I need to create a "Warning" file to distribute with OmegaT.app though, since the internals of the package can’t be modified anymore, and this all the facilities we have (adding plugins inside the package etc.) are not available anymore...

  7. @ctatwork not fun but I guess a huge part of this is scriptable. I just need to get back to #awk or #sed I guess to get things to go smoother...

    But I’ll only do that for the stable version of OmegaT.

    I need to create a "Warning" file to distribute with OmegaT.app though, since the internals of the package can’t be modified anymore, and this all the facilities we have (adding plugins inside the package etc.) are not available anymore...

  8. @ctatwork not fun but I guess a huge part of this is scriptable. I just need to get back to #awk or #sed I guess to get things to go smoother...

    But I’ll only do that for the stable version of OmegaT.

    I need to create a "Warning" file to distribute with OmegaT.app though, since the internals of the package can’t be modified anymore, and this all the facilities we have (adding plugins inside the package etc.) are not available anymore...

  9. @ctatwork not fun but I guess a huge part of this is scriptable. I just need to get back to #awk or #sed I guess to get things to go smoother...

    But I’ll only do that for the stable version of OmegaT.

    I need to create a "Warning" file to distribute with OmegaT.app though, since the internals of the package can’t be modified anymore, and this all the facilities we have (adding plugins inside the package etc.) are not available anymore...

  10. @rl_dane

    Unless the "meme language" is #awk or Forth, in which case I might consider it 😆

  11. @rl_dane

    Unless the "meme language" is #awk or Forth, in which case I might consider it 😆

  12. @rl_dane

    Unless the "meme language" is #awk or Forth, in which case I might consider it 😆

  13. @rl_dane

    Unless the "meme language" is #awk or Forth, in which case I might consider it 😆

  14. @rl_dane

    Unless the "meme language" is #awk or Forth, in which case I might consider it 😆

  15. Most #awk users know that a pattern without an explicit action defaults to a print action, and an action without a pattern matches every input line.

    But BEGIN/END don't seem to be treated as patterns, so

    $ … | awk END

    bails out rather than behaving like `… | tail -1`, complaining that END *requires* an action block, rather than defaulting to the print action.

    #TIL

  16. Most #awk users know that a pattern without an explicit action defaults to a print action, and an action without a pattern matches every input line.

    But BEGIN/END don't seem to be treated as patterns, so

    $ … | awk END

    bails out rather than behaving like `… | tail -1`, complaining that END *requires* an action block, rather than defaulting to the print action.

    #TIL

  17. Most #awk users know that a pattern without an explicit action defaults to a print action, and an action without a pattern matches every input line.

    But BEGIN/END don't seem to be treated as patterns, so

    $ … | awk END

    bails out rather than behaving like `… | tail -1`, complaining that END *requires* an action block, rather than defaulting to the print action.

    #TIL

  18. Most #awk users know that a pattern without an explicit action defaults to a print action, and an action without a pattern matches every input line.

    But BEGIN/END don't seem to be treated as patterns, so

    $ … | awk END

    bails out rather than behaving like `… | tail -1`, complaining that END *requires* an action block, rather than defaulting to the print action.

    #TIL

  19. Most #awk users know that a pattern without an explicit action defaults to a print action, and an action without a pattern matches every input line.

    But BEGIN/END don't seem to be treated as patterns, so

    $ … | awk END

    bails out rather than behaving like `… | tail -1`, complaining that END *requires* an action block, rather than defaulting to the print action.

    #TIL

  20. 🎉 Behold the marvel: "Pu.sh" - a #tiny disaster-in-a-pocket, crammed into a mere 400 lines of shell! 🔧🤡 Who needs modern tools like #npm or #Docker when you can just duct-tape it with #curl and awk? 🚀👀
    pu.dev/ #Pu.sh #disaster #shell #awk #HackerNews #ngated

  21. 🎉 Behold the marvel: "Pu.sh" - a #tiny disaster-in-a-pocket, crammed into a mere 400 lines of shell! 🔧🤡 Who needs modern tools like #npm or #Docker when you can just duct-tape it with #curl and awk? 🚀👀
    pu.dev/ #Pu.sh #disaster #shell #awk #HackerNews #ngated

  22. 🎉 Behold the marvel: "Pu.sh" - a #tiny disaster-in-a-pocket, crammed into a mere 400 lines of shell! 🔧🤡 Who needs modern tools like #npm or #Docker when you can just duct-tape it with #curl and awk? 🚀👀
    pu.dev/ #Pu.sh #disaster #shell #awk #HackerNews #ngated

  23. 🎉 Behold the marvel: "Pu.sh" - a #tiny disaster-in-a-pocket, crammed into a mere 400 lines of shell! 🔧🤡 Who needs modern tools like #npm or #Docker when you can just duct-tape it with #curl and awk? 🚀👀
    pu.dev/ #Pu.sh #disaster #shell #awk #HackerNews #ngated

  24. 🎉 Behold the marvel: "Pu.sh" - a #tiny disaster-in-a-pocket, crammed into a mere 400 lines of shell! 🔧🤡 Who needs modern tools like #npm or #Docker when you can just duct-tape it with #curl and awk? 🚀👀
    pu.dev/ #Pu.sh #disaster #shell #awk #HackerNews #ngated

  25. Lua has many dialects, and I love them all ❤️
    But how to write one lua-file and target them all?
    Answer: metaprogramming

    Here's a small ~700 bytes gpp-ish metaprogramming awk script 🎉

    #lua #teal #nelua #redbean #esp32 #wasm #love2D #awk

    ps. its not limited to lua :coolcat:

    codeberg.org/coderofsalvation/

  26. Lua has many dialects, and I love them all ❤️
    But how to write one lua-file and target them all?
    Answer: metaprogramming

    Here's a small ~700 bytes gpp-ish metaprogramming awk script 🎉

    #lua #teal #nelua #redbean #esp32 #wasm #love2D #awk

    ps. its not limited to lua :coolcat:

    codeberg.org/coderofsalvation/

  27. Lua has many dialects, and I love them all ❤️
    But how to write one lua-file and target them all?
    Answer: metaprogramming

    Here's a small ~700 bytes gpp-ish metaprogramming awk script 🎉

    #lua #teal #nelua #redbean #esp32 #wasm #love2D #awk

    ps. its not limited to lua :coolcat:

    codeberg.org/coderofsalvation/

  28. Lua has many dialects, and I love them all ❤️
    But how to write one lua-file and target them all?
    Answer: metaprogramming

    Here's a small ~700 bytes gpp-ish metaprogramming awk script 🎉

    #lua #teal #nelua #redbean #esp32 #wasm #love2D #awk

    ps. its not limited to lua :coolcat:

    codeberg.org/coderofsalvation/

  29. Lua has many dialects, and I love them all ❤️
    But how to write one lua-file and target them all?
    Answer: metaprogramming

    Here's a small ~700 bytes gpp-ish metaprogramming awk script 🎉

    #lua #teal #nelua #redbean #esp32 #wasm #love2D #awk

    ps. its not limited to lua :coolcat:

    codeberg.org/coderofsalvation/

  30. Friendship ended with #awk
    Now #tcl is my best friend

    I like its way of doing control flow by passing quoted commands rather than a block of actual commands itself. Looks like a poor man's metaprogramming (or something i'd implement in a Lisp with no distinction between macros and procedures or with a call-by-name/on-demand evaluation of procedures).
    Am gonna use it for large scripts and prototyping.

  31. Friendship ended with #awk
    Now #tcl is my best friend

    I like its way of doing control flow by passing quoted commands rather than a block of actual commands itself. Looks like a poor man's metaprogramming (or something i'd implement in a Lisp with no distinction between macros and procedures or with a call-by-name/on-demand evaluation of procedures).
    Am gonna use it for large scripts and prototyping.

  32. Friendship ended with #awk
    Now #tcl is my best friend

    I like its way of doing control flow by passing quoted commands rather than a block of actual commands itself. Looks like a poor man's metaprogramming (or something i'd implement in a Lisp with no distinction between macros and procedures or with a call-by-name/on-demand evaluation of procedures).
    Am gonna use it for large scripts and prototyping.

  33. Friendship ended with #awk
    Now #tcl is my best friend

    I like its way of doing control flow by passing quoted commands rather than a block of actual commands itself. Looks like a poor man's metaprogramming (or something i'd implement in a Lisp with no distinction between macros and procedures or with a call-by-name/on-demand evaluation of procedures).
    Am gonna use it for large scripts and prototyping.

  34. Friendship ended with #awk
    Now #tcl is my best friend

    I like its way of doing control flow by passing quoted commands rather than a block of actual commands itself. Looks like a poor man's metaprogramming (or something i'd implement in a Lisp with no distinction between macros and procedures or with a call-by-name/on-demand evaluation of procedures).
    Am gonna use it for large scripts and prototyping.

  35. Been cooking up these scripts the last few days to help properly maintain a #linux #kernel #fork written in #AWK and #bash. It only deals with pruning system calls right now, so theres quite a bit more work to do.

    codeberg.org/m2rad0/splinter

    #linuxkernel

  36. Been cooking up these scripts the last few days to help properly maintain a #linux #kernel #fork written in #AWK and #bash. It only deals with pruning system calls right now, so theres quite a bit more work to do.

    codeberg.org/m2rad0/splinter

    #linuxkernel

  37. Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.

    blog.jakobs.systems/blog/20260

    #Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk

  38. Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.

    blog.jakobs.systems/blog/20260

    #Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk

  39. Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.

    blog.jakobs.systems/blog/20260

    #Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk

  40. As part of my foray into the smolweb I’ve been learning how to write awk scripts the author of the bottles anon forum is running a workshop. Given how there’s a metric fuck ton of awk scripts used to power cgi for gopher it’s probably a useful skill. I’ll be updating my LinkedIn profile shortly rawtext.club/~woog/misc/awk_wo / gopher://sdf.org:70/1/users/bo #GopherProtocol #awk #smolweb

  41. As part of my foray into the smolweb I’ve been learning how to write awk scripts the author of the bottles anon forum is running a workshop. Given how there’s a metric fuck ton of awk scripts used to power cgi for gopher it’s probably a useful skill. I’ll be updating my LinkedIn profile shortly rawtext.club/~woog/misc/awk_wo / gopher://sdf.org:70/1/users/bo #GopherProtocol #awk #smolweb

  42. As part of my foray into the smolweb I’ve been learning how to write awk scripts the author of the bottles anon forum is running a workshop. Given how there’s a metric fuck ton of awk scripts used to power cgi for gopher it’s probably a useful skill. I’ll be updating my LinkedIn profile shortly rawtext.club/~woog/misc/awk_wo / gopher://sdf.org:70/1/users/bo

  43. As part of my foray into the smolweb I’ve been learning how to write awk scripts the author of the bottles anon forum is running a workshop. Given how there’s a metric fuck ton of awk scripts used to power cgi for gopher it’s probably a useful skill. I’ll be updating my LinkedIn profile shortly rawtext.club/~woog/misc/awk_wo / gopher://sdf.org:70/1/users/bo #GopherProtocol #awk #smolweb

  44. As part of my foray into the smolweb I’ve been learning how to write awk scripts the author of the bottles anon forum is running a workshop. Given how there’s a metric fuck ton of awk scripts used to power cgi for gopher it’s probably a useful skill. I’ll be updating my LinkedIn profile shortly rawtext.club/~woog/misc/awk_wo / gopher://sdf.org:70/1/users/bo #GopherProtocol #awk #smolweb

  45. @robert42 @davidcarew may I recommend starting with something like:geeksforgeeks.org/linux-unix/a

    And eventually migrating to lists of raw examples like here: github.com/learnbyexample/lear (the associated book is obviously helpful for context).

    ymmv, good luck though!
    #awk #sed #programming

  46. @robert42 @davidcarew may I recommend starting with something like:geeksforgeeks.org/linux-unix/a

    And eventually migrating to lists of raw examples like here: github.com/learnbyexample/lear (the associated book is obviously helpful for context).

    ymmv, good luck though!
    #awk #sed #programming

  47. @robert42 @davidcarew may I recommend starting with something like:geeksforgeeks.org/linux-unix/a

    And eventually migrating to lists of raw examples like here: github.com/learnbyexample/lear (the associated book is obviously helpful for context).

    ymmv, good luck though!
    #awk #sed #programming

  48. @robert42 @davidcarew may I recommend starting with something like:geeksforgeeks.org/linux-unix/a

    And eventually migrating to lists of raw examples like here: github.com/learnbyexample/lear (the associated book is obviously helpful for context).

    ymmv, good luck though!
    #awk #sed #programming

  49. @robert42 @davidcarew may I recommend starting with something like:geeksforgeeks.org/linux-unix/a

    And eventually migrating to lists of raw examples like here: github.com/learnbyexample/lear (the associated book is obviously helpful for context).

    ymmv, good luck though!
    #awk #sed #programming

  50. @ojs yeah, I wondered whether "bash" meant "ksh" or "/bin/sh" or Actual Bash. For portable, there's also #awk 😁

    @joel