made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
15
gitportable/usr/share/awk/ftrans.awk
Normal file
15
gitportable/usr/share/awk/ftrans.awk
Normal file
@@ -0,0 +1,15 @@
|
||||
# ftrans.awk --- handle datafile transitions
|
||||
#
|
||||
# user supplies beginfile() and endfile() functions
|
||||
#
|
||||
# Arnold Robbins, arnold@skeeve.com, Public Domain
|
||||
# November 1992
|
||||
|
||||
FNR == 1 {
|
||||
if (_filename_ != "")
|
||||
endfile(_filename_)
|
||||
_filename_ = FILENAME
|
||||
beginfile(FILENAME)
|
||||
}
|
||||
|
||||
END { endfile(_filename_) }
|
||||
Reference in New Issue
Block a user