|
|
|
@ -73,6 +73,7 @@ defined in the previous section. |
|
|
|
tell the shell where to look for them. Whenever you reference a |
|
|
|
tell the shell where to look for them. Whenever you reference a |
|
|
|
function, the shell will automatically load it into memory. |
|
|
|
function, the shell will automatically load it into memory. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src sh :tangle no |
|
|
|
% mkdir /tmp/funs |
|
|
|
% mkdir /tmp/funs |
|
|
|
% cat >/tmp/funs/yp |
|
|
|
% cat >/tmp/funs/yp |
|
|
|
ypmatch $1 passwd.byname |
|
|
|
ypmatch $1 passwd.byname |
|
|
|
@ -92,6 +93,7 @@ egsirer:*:3214:35:Emin Gun Sirer:/u/egsirer:/bin/sh |
|
|
|
yp () { |
|
|
|
yp () { |
|
|
|
ypmatch $1 passwd.byname |
|
|
|
ypmatch $1 passwd.byname |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** Include :daily: |
|
|
|
*** Include :daily: |
|
|
|
|