Reputation
24,513
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
3 59 94
Newest
 Enlightened
Impact
~1.3m people reached

1d
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.
1d
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.
1d
awarded  Enlightened
1d
awarded  Nice Answer
Feb
11
reviewed Close Is Snort Ossec Bro Dragon supports automatic scan?
Feb
11
reviewed Close How to add 100 users from a file
Feb
11
reviewed Leave Open Multiple sed commands in a file
Feb
11
reviewed Reviewed How to install Arch without it seeing my internal hard drive?
Feb
10
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
Feb
10
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?
Feb
10
reviewed Looks OK Unable to access iSCSI target since Targetcli has been updated on Centos 7
Feb
10
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.
Feb
10
reviewed Reviewed how to remove a RFL_SourceSumbission_20150901 - header .csv
Feb
10
reviewed No Action Needed Tcl/Expect: Can't set variable value correctly
Feb
10
reviewed No Action Needed How to determine callee function name in a script
Feb
10
answered How to determine callee function name in a script
Feb
10
reviewed Reviewed Unexpected field expansion behavior by bash for loop
Feb
10
reviewed Looks OK Autostart under random WM?
Feb
9
awarded  Nice Answer
Feb
1
awarded  Good Answer