Shell function parameter
Posted
by AntonAL
on Super User
See other posts from Super User
or by AntonAL
Published on 2010-04-27T10:49:58Z
Indexed on
2010/04/27
10:53 UTC
Read the original article
Hit count: 370
Is there a way to declare and pass parameters for shell functions, like so ?
function msg( m )
{
read -p "Task #" + m + "done. Press any key to continue
}
© Super User or respective owner