Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
Verdant
/
test
like
0
Modalities:
Text
Dataset card
Data Studio
Files
Files and versions
xet
Community
main
test
/
git
/
usr
/
share
/
awk
/
readfile.awk
Verdant
Upload 328 files
82618f7
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
267 Bytes
# 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
}