Datasets:
Download ATTRIBUTION.md from asterbraid/awkweave-so-data: direct link, hf CLI and curl.
- Browser
- Download file 11.1 kB
-
https://huggingface.co/datasets/asterbraid/awkweave-so-data/resolve/main/ATTRIBUTION.md
- Command line
-
hf download hf://datasets/asterbraid/awkweave-so-data/ATTRIBUTION.md
-
curl -L -o ATTRIBUTION.md https://huggingface.co/datasets/asterbraid/awkweave-so-data/resolve/main/ATTRIBUTION.md
Source attribution
Using awk to remove the Byte-order mark — question: Boldewyn; accepted answer: Bartosz (answer 1068700).
How to check if the variable value in AWK script is null or empty? — question: samarth; accepted answer: Levon (answer 11952924).
Swap two columns - awk, sed, python, perl — question: Charley Farley; accepted answer: perreal (answer 11967849).
Using multiple delimiters in awk — question: Satish; accepted answer: embedded.kyle (answer 12204350).
Remove all text before colon — question: NewUsr_stat; accepted answer: Sacha Epskamp (answer 12297934).
Printing the last column of a line in a file — question: Rayne; accepted answer: Olaf Dietsche (answer 13046224).
How to delete duplicate lines in a file without sorting it in Unix — question: Vijay; accepted answer: Jonas Elfström (answer 1444448).
How to get first n characters of each line in unix data file — question: Teja; accepted answer: Chris Seymour (answer 14462614).
using awk with column value conditions — question: user1687130; accepted answer: Rob Davis (answer 14739101).
Select row and element in awk — question: Tim; accepted answer: Dennis Williamson (answer 1506601).
Scripts for computing the average of a list of numbers in a data file — question: JackWM; accepted answer: Chris Seymour (answer 15681543).
How can I get the second column from command output? — question: Qiang Xu; accepted answer: catay (answer 16137100).
awk partly string match (if column/word partly matches) — question: pogibas; accepted answer: Ahmed Masud (answer 17001897).
How to select lines between two marker patterns which may occur multiple times with awk/sed — question: dvai; accepted answer: fedorqui (answer 17988834).
Use awk to find average of a column — question: Ben Zifkin; accepted answer: imp25 (answer 19150191).
Trim leading and trailing spaces from a string in awk — question: Marjer; accepted answer: Floris (answer 20601021).
Print line numbers starting at zero using awk — question: user790049; accepted answer: Lance Roberts (answer 20752092).
Print second-to-last column/field in
awk— question: Brian G; accepted answer: Chris Kannon (answer 2096526).cut or awk command to print first field of first row — question: user3331975; accepted answer: devnull (answer 22190928).
How to remove leading whitespace from each line in a file — question: Lazer; accepted answer: shuvalov (answer 2310620).
Print all but the first three columns — question: hhh; accepted answer: olibre (answer 18817331).
How can I quickly sum all numbers in a file? — question: Mark Roberts; accepted answer: brian d foy (answer 2702614).
awk - concatenate two string variable and assign to a third — question: user3738926; accepted answer: fedorqui (answer 27028953).
How to Sum a column in AWK? — question: Ajo; accepted answer: mpromonet (answer 28905292).
How to use awk to print lines where a field matches a specific string? — question: yael; accepted answer: Hank Gay (answer 2957225).
Using awk to print all columns from the nth to the last — question: Andy; accepted answer: zed_0xff (answer 2961994).
Print the last line of a file, from the CLI — question: yael; accepted answer: Joey (answer 3080722).
How to print lines between two patterns, inclusive or exclusive (in sed, AWK or Perl)? — question: fedorqui; accepted answer: fedorqui (answer 38972737).
Printing everything except the first field with awk — question: cfischer; accepted answer: Ben Jackson (answer 4198169).
How to print last two columns using awk — question: vehomzzz; accepted answer: codaddict (answer 4304949).
How to print all the columns after a particular number using awk? — question: Lazer; accepted answer: Amadan (answer 5082055).
Tab separated values in awk — question: shantanuo; accepted answer: glenn jackman (answer 5376527).
How to print matched regex pattern using awk? — question: marverix; accepted answer: kurumi (answer 5536068).
Bash tool to get nth line from a file — question: Vlad Vivdovitch; accepted answer: anubhava (answer 6022431).
How to split a delimited string into an array in awk? — question: Mohamed Saligh; accepted answer: Calin Paul Alexandru (answer 8009724).
How to print the number of characters in each line of a text file — question: vikas368; accepted answer: Fred Foo (answer 8786674).
How can I get the length of an array in awk? — question: softghost; accepted answer: shellter (answer 9351954).
How to add to the end of lines containing a pattern with sed or awk? — question: yasar; accepted answer: user219882 (answer 9591835).
How to merge every two lines into one from the command line? — question: shantanuo; accepted answer: Kent (answer 9605559).
Is there a way to completely delete fields in awk, so that extra delimiters do not print? — question: merlin2011; accepted answer: ghoti (answer 38311342).
How can I make awk not use scientific notation when printing small values? — question: Manuel Selva; accepted answer: C2H5OH (answer 12714193).
Remove odd or even lines from a text file — question: SamuelNLP; accepted answer: Thor (answer 21309073).
How to number the ls output in unix? — question: Snehal; accepted answer: Matthew Slattery (answer 2924284).
Convert WebVTT file from Youtube to plain text — question: user1029296; accepted answer: l'L'l (answer 56927959).
Sort a text file by line length including spaces — question: gnarbarian; accepted answer: neillb (answer 5917762).
Removing trailing / starting newlines with sed, awk, tr, and friends — question: ELLIOTTCABLE; accepted answer: dogbane (answer 7359879).
sed delete and replace on top of file is not working as expected — question: Rajeev; accepted answer: Ed Morton (answer 79642983).
awk command to subtract constant from a column and print results — question: Matteo; accepted answer: pmf (answer 79833924).
Remove multiple occurrences of similar lines except the last — question: blindwillie31; accepted answer: Bill Karwin (answer 79980454).