mirror of
https://github.com/mupen64plus/mupen64plus-win32-deps.git
synced 2025-04-02 10:52:39 -04:00
15 lines
317 B
Awk
15 lines
317 B
Awk
# ftrans.awk --- handle data file 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_) }
|