#awk — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #awk, aggregated by home.social.
-
No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠
-
No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠
-
No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠
-
No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠
-
No sé por qué narices hay que indicar "BEGIN" a #gawk para que acepte el separador de campos desde el primer registro 😠
-
@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...
-
@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...
-
@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...
-
@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...
-
-
-
-
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere'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:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere'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:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere'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:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere'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:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere'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:
https://codeberg.org/coderofsalvation/meta.awk -
Friendship ended with #awk
Now #tcl is my best friendI 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. -
Friendship ended with #awk
Now #tcl is my best friendI 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. -
Friendship ended with #awk
Now #tcl is my best friendI 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. -
Friendship ended with #awk
Now #tcl is my best friendI 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. -
Friendship ended with #awk
Now #tcl is my best friendI 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. -
Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.
https://blog.jakobs.systems/blog/20260414-charts-in-markdown/
#Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk
-
Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.
https://blog.jakobs.systems/blog/20260414-charts-in-markdown/
#Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk
-
Charts in Markdown? Jetzt isser bekloppt geworden ;-) Viel Spaß beim Lesen wie ich in Markdown deterministische Piecharts in meinem ISMS Dokumenten-Workflow baue.
https://blog.jakobs.systems/blog/20260414-charts-in-markdown/
#Markdown #ISMS #pandoc #LaTeX #Charts #Dashboards #Workflow #bash #awk
-
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 https://rawtext.club/~woog/misc/awk_workshop.html / gopher://sdf.org:70/1/users/bottles/awk_workshop/ #GopherProtocol #awk #smolweb
-
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 https://rawtext.club/~woog/misc/awk_workshop.html / gopher://sdf.org:70/1/users/bottles/awk_workshop/ #GopherProtocol #awk #smolweb
-
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 https://rawtext.club/~woog/misc/awk_workshop.html / gopher://sdf.org:70/1/users/bottles/awk_workshop/ #GopherProtocol #awk #smolweb
-
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 https://rawtext.club/~woog/misc/awk_workshop.html / gopher://sdf.org:70/1/users/bottles/awk_workshop/ #GopherProtocol #awk #smolweb
-
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 https://rawtext.club/~woog/misc/awk_workshop.html / gopher://sdf.org:70/1/users/bottles/awk_workshop/ #GopherProtocol #awk #smolweb
-
@robert42 @davidcarew may I recommend starting with something like:https://www.geeksforgeeks.org/linux-unix/awk-command-unixlinux-examples/
And eventually migrating to lists of raw examples like here: https://github.com/learnbyexample/learn_gnuawk/tree/master/code_snippets (the associated book is obviously helpful for context).
ymmv, good luck though!
#awk #sed #programming -
@robert42 @davidcarew may I recommend starting with something like:https://www.geeksforgeeks.org/linux-unix/awk-command-unixlinux-examples/
And eventually migrating to lists of raw examples like here: https://github.com/learnbyexample/learn_gnuawk/tree/master/code_snippets (the associated book is obviously helpful for context).
ymmv, good luck though!
#awk #sed #programming -
@robert42 @davidcarew may I recommend starting with something like:https://www.geeksforgeeks.org/linux-unix/awk-command-unixlinux-examples/
And eventually migrating to lists of raw examples like here: https://github.com/learnbyexample/learn_gnuawk/tree/master/code_snippets (the associated book is obviously helpful for context).
ymmv, good luck though!
#awk #sed #programming -
@robert42 @davidcarew may I recommend starting with something like:https://www.geeksforgeeks.org/linux-unix/awk-command-unixlinux-examples/
And eventually migrating to lists of raw examples like here: https://github.com/learnbyexample/learn_gnuawk/tree/master/code_snippets (the associated book is obviously helpful for context).
ymmv, good luck though!
#awk #sed #programming -
@robert42 @davidcarew may I recommend starting with something like:https://www.geeksforgeeks.org/linux-unix/awk-command-unixlinux-examples/
And eventually migrating to lists of raw examples like here: https://github.com/learnbyexample/learn_gnuawk/tree/master/code_snippets (the associated book is obviously helpful for context).
ymmv, good luck though!
#awk #sed #programming