Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
BEGIN {
|
||||
system("ls") # Unix
|
||||
#system("dir") # DOS/MS-Windows
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
BEGIN {
|
||||
ls = sys2var("ls")
|
||||
print ls
|
||||
}
|
||||
function sys2var(command ,fish, scale, ship) {
|
||||
command = command " 2>/dev/null"
|
||||
while ( (command | getline fish) > 0 ) {
|
||||
if ( ++scale == 1 )
|
||||
ship = fish
|
||||
else
|
||||
ship = ship "\n" fish
|
||||
}
|
||||
close(command)
|
||||
return ship
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue