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

13 lines
129 B
Bash

#!/bin/bash
function myprint()
{
printf "%-16s - %s", $1, $4
}
function myrand ( limit )
{
return int ( limit * rand ( ) )
}