linux-tutorial/codes/shell/查找替换文本/gawk/gawk函数库

13 lines
129 B
Plaintext
Raw Normal View History

2019-05-10 11:17:57 +08:00
#!/bin/bash
function myprint()
{
printf "%-16s - %s", $1, $4
}
2019-10-29 18:22:19 +08:00
function myrand ( limit )
2019-05-10 11:17:57 +08:00
{
2019-10-29 18:22:19 +08:00
return int ( limit * rand ( ) )
2019-05-10 11:17:57 +08:00
}