This material of this faq originates from the comp.lang.awk FAQ that you can find there: * http://www.faqs.org/faqs/computer-lang/awk/faq/ <toc> ---- == What is Awk? <include "What is awkJapanese"> [[http://awk.freeshell.org/?action=edit;id=What_is_awkJapanese| Edit this answer]] ---- == How can I access shell or environment variables in an awk script? === Shells <include "ShellsJapanese"> [[http://awk.freeshell.org/?action=edit;id=ShellsJapanese| Edit this answer]] === Environment variables in general <include "EnvVarGeneralJapanese"> [[http://awk.freeshell.org/?action=edit;id=EnvVarGeneralJapanese| Edit this answer]] === Unix Shell Quoting <include "ShellQuotingJapanese"> [[http://awk.freeshell.org/?action=edit;id=ShellQuotingJapanese| Edit this answer]] === ENVIRON[] and "env"|getline <include "ENVIRONJapanese"> [[http://awk.freeshell.org/?action=edit;id=ENVIRONJapanese| Edit this answer]] === exporting environment variables back to the parent process <include "PassingVariablesToTheParentProcessJapanese"> [[http://awk.freeshell.org/?action=edit;id=PassingVariablesToTheParentProcessJapanese| Edit this answer]] ---- == Why would anyone still use awk instead of perl? <include "AwkVsPerlJapanese"> [[http://awk.freeshell.org/?action=edit;id=AwkVsPerlJapanese| Edit this answer]] ---- == How do I report a bug in gawk? <include "How do I report a bug in gawkJapanese"> [[http://awk.freeshell.org/?action=edit;id=How_do_I_report_a_bug_in_gawkJapanese| Edit this answer]] ---- == Is there an easy way to determine if you have oawk or nawk? <include "oawk or nawkJapanese"> [[http://awk.freeshell.org/?action=edit;id=oawk_or_nawkJapanese| Edit this answer]] ---- == How does awk deal with multiple files? === Version warning Some of these techniques will require non-ancient versions of awk. === How can awk test for the existence of a file? <include "FileExistenceJapanese"> [[http://awk.freeshell.org/?action=edit;id=FileExistenceJapanese| Edit this answer]] === How can I get awk to read multiple files? <include "ReadMultipleFilesJapanese"> [[http://awk.freeshell.org/?action=edit;id=ReadMultipleFilesJapanese| Edit this answer]] === How can I tell from which file my input is coming? <include "FileNameJapanese"> [[http://awk.freeshell.org/?action=edit;id=FileNameJapanese| Edit this answer]] === How can I get awk to open multiple files (selected at runtime)? <include "OpeningFilesJapanese"> [[http://awk.freeshell.org/?action=edit;id=OpeningFilesJapanese| Edit this answer]] === How can I treat the first file specially? <include "FirstFileJapanese"> [[http://awk.freeshell.org/?action=edit;id=FirstFileJapanese| Edit this answer]] === How can I explicitly pass in a filename to treat specially? <include "SpecialFileJapanese"> [[http://awk.freeshell.org/?action=edit;id=SpecialFileJapanese| Edit this answer]] ---- == How many elements were created by split()? <include "SizeOfSplitJapanese"> [[http://awk.freeshell.org/?action=edit;id=SizeOfSplitJapanese| Edit this answer]] ---- == How can I split a string into characters? <include "SplitIntoCharsJapanese"> [[http://awk.freeshell.org/?action=edit;id=SplitIntoCharsJapanese| Edit this answer]] ---- == Why does SunOS/Solaris awk behave oddly? <include "SolarisNawkJapanese"> [[http://awk.freeshell.org/?action=edit;id=SolarisNawkJapanese| Edit this answer]] ---- == How do I have dynamic-width printf strings, like C? <include "PrintfDynamicWidthJapanese"> [[http://awk.freeshell.org/?action=edit;id=PrintfDynamicWidthJapanese| Edit this answer]]
Summary:
This change is a minor edit.
Username: