/
niceSOFT
/
gawk
Обзор
Документация
Войти
/
niceSOFT
/
gawk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
awklib/eg/lib/rewind.awk
24 строки
553 B
Arnold D. Robbins
Add blurb pointing to manual to all example programs.
12 май 2025, 22:26
12 май 2025, 22:26
e11c16e
Код
Авторство
О чём код?
# rewind.awk --- rewind the current file and start over # # This file and how to use it are described in the manual. # Therefore, we respectfully advise you to Read The Fine Manual # for more information. # # Arnold Robbins, arnold@skeeve.com, Public Domain # September 2000 function rewind( i) { # shift remaining arguments up for (i = ARGC; i > ARGIND; i--) ARGV[i] = ARGV[i-1] # make sure gawk knows to keep going ARGC++ # make current file next to get done ARGV[ARGIND+1] = FILENAME # do it nextfile }