mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
13 lines
122 B
Plaintext
13 lines
122 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
function myprint()
|
||
|
{
|
||
|
printf "%-16s - %s", $1, $4
|
||
|
}
|
||
|
|
||
|
function myrand(limit)
|
||
|
{
|
||
|
return int(limit * rand())
|
||
|
}
|
||
|
|