/[sysadmin-cookbook]/bin/cook.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /bin/cook.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65 - (hide annotations)
Wed May 13 18:31:33 2009 UTC (10 years, 10 months ago) by dpavlin
File MIME type: application/x-sh
File size: 224 byte(s)
small helper to cook the recepie (start prompt parts in shell)
1 dpavlin 65 #!/bin/sh
2    
3     # small helper to cook the recepie (start prompt parts in shell)
4    
5     test -e $1 || ( echo "usage: $0 recepises/something"; exit )
6    
7     cat $1
8    
9     grep '[a-z]*@[a-z]*:[^$#]*[$#]' $1 | cut -d\# -f 2 | xargs -i sh -x -c "{}"
10    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26