Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
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
about 3 years ago
Raw
Download with hf CLI
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
}