D7net
Home
Console
Upload
information
Create file
Create Folder
About
Tools
Path :
/
usr
/
share
/
locale
/
kaa
/
..
/
th_TH
/
..
/
na
/
..
/
hi
/
..
/
mdr
/
..
/
nzi
/
..
/
es_PA
/
..
/
..
/
awk
/
Filename :
readfile.awk
back
Edit
Copy
# readfile.awk --- read an entire file at once # # Original idea by Denis Shirokov, cosmogen@gmail.com, April 2013 # function readfile(file, tmp, save_rs) { save_rs = RS RS = "^$" getline tmp < file close(file) RS = save_rs return tmp }