Tiny Core Linux

Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: mocore on November 29, 2023, 09:07:42 PM

Title: command-line tools that can be easily approximated using (interprted) scripts
Post by: mocore on November 29, 2023, 09:07:42 PM

i was reminded of the below quote

Heh, if you want head or tail, use sed commands to do it and perhaps alias it by those names, or make it an executable script.  Remove those from busybox and relive the true spirit of the day!

while reading

>standard command-line tools that can be easily approximated using short Haskell expressions.
https://github.com/gelisam/hawk # Haskell text processor for the command-line

Quote
While Hawk and awk have similar use cases, the philosophy behind the two is very different. Awk uses a specialized language designed to concisely express many text transformations, while Hawk uses the general-purpose language Haskell, which is also known for being concise, among other things. There are many standard command-line tools that can be easily approximated using short Haskell expressions.

and have afair.. also seen examples in the gawk manual of mimicking (*tangent ~ https://en.wikipedia.org/wiki/To_Mock_a_Mockingbird) ..
eg https://www.gnu.org/software/gawk/manual/gawk.html#wc-program

and wander if anyone knows of any similar scripted alternatives "standard command-line tools"

...
hi *

heare are afew  oddities awk found while looking for other compleatly diffrent awk related things

https://github.com/djanderson/aho -  A git implementation in awk


https://github.com/huijunchen9260/fm.awk - File manager written in awk
Title: Re: command-line tools that can be easily approximated using (interprted) scripts
Post by: mocore on November 29, 2023, 10:33:29 PM
 ;D
shit == Shell Git
https://git.sr.ht/~sircmpwn/shit -  an implementation of Git using (almost) entirely POSIX shell.

Title: Re: command-line tools that can be easily approximated using (interprted) scripts
Post by: gadget42 on November 30, 2023, 03:20:37 AM
;D
shit == Shell Git
https://git.sr.ht/~sircmpwn/shit -  an implementation of Git using (almost) entirely POSIX shell.

more drew devault can be enjoyed at:
https://drewdevault.com/