shell/gawk进阶/gawk函数库

13 lines
122 B
Plaintext
Raw Permalink Normal View History

2016-05-23 08:32:00 +08:00
#!/bin/bash
function myprint()
{
printf "%-16s - %s", $1, $4
}
function myrand(limit)
{
return int(limit * rand())
}