jw013

United States

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.

16h
comment Delayed Expansion
I am confused where in my comment made you think I am talking about C. Quines are a universal concept that can be written in nearly all languages. printf works nearly identically in C and shell. The important part is understanding the concept of quines - once you do you can apply it to any language you are proficient with.
16h
comment Delayed Expansion
If you read about how to write quines, like here, you would see that what you are looking for is simply printf, which a POSIX sh should have. What you call "delayed expansion" is merely string formatting.
16h
awarded Enlightened
16h
awarded Nice Answer
2d
reviewed Close Is Snort Ossec Bro Dragon supports automatic scan?
2d
reviewed Close How to add 100 users from a file
2d
reviewed Leave Open Multiple sed commands in a file
2d
reviewed Reviewed How to install Arch without it seeing my internal hard drive?
2d
comment Is there a way I can grep recursively over all the files in the current directory to find a pattern and then print it in order of high to low?
Sort does more things than you might be aware of, which you can learn more about by reading the man page. Try sort -t : -k 2,2n
2d
comment Is there a way I can grep recursively over all the files in the current directory to find a pattern and then print it in order of high to low?
Have you tried the sort command?
2d
reviewed Looks Good Unable to access iSCSI target since Targetcli has been updated on Centos 7
2d
comment Unexpected field expansion behavior by bash for loop
@JohnCarpenter The only thing for loops iterate over is words. It doesn't care whether those words were manually typed by someone or resulted from field splitting a normal variable or a bash array.
2d
reviewed Reviewed how to remove a RFL_SourceSumbission_20150901 - header .csv
2d
reviewed No Action Needed Tcl/Expect: Can't set variable value correctly
2d
reviewed No Action Needed How to determine callee function name in a script
2d
answered How to determine callee function name in a script
2d
reviewed Reviewed Unexpected field expansion behavior by bash for loop
2d
reviewed Looks Good Autostart under random WM?
Feb
1
awarded Good Answer
Jan
22
awarded Enlightened
1 2 3 4 5