Overview
Comment:Fixed grep error when lbl file doesn't exist.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: bb9301a0b6b8cb9efa966a50a0e67462546e2777f5a74a25b019f2e470a409ab
User & Date: geraint@users.sourceforge.net on 2003-08-09 00:29:52.000
Other Links: branch diff | manifest | tags
Context
2003-08-10
18:56:55
Explicitly generate eps files check-in: 5a4752bab1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-08-09
00:29:52
Fixed grep error when lbl file doesn't exist. check-in: bb9301a0b6 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-08-07
23:31:00
More explicit options instead of single letters.
Added -name and -email options to alter packager details.
Now asks for password for key associated with email instead of root.
check-in: 45bcee0978 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes
︙︙
10
11
12
13
14
15
16




17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

32
33
34
35
36
37
38
39
40
41
42
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$




## Revision 1.3  1998/07/28 11:23:31  peterg
## Put / explicitly in awk.
##
## Revision 1.2  1998/07/27 08:38:11  peterg
## Just look for / in the relevant field.
##
## Revision 1.1  1998/07/17 17:04:50  peterg
## Initial revision
##
###############################################################


# Regexp for an alias
alias='^[#%]ALIAS'


grep $alias $1_lbl.txt | gawk '{if (match($3,"/")>0) print "mtt -q compcopy " $3}'

















>
>
>
>















>
|
|
<
<
<
<
<
<
<
<
<
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38









# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4  2002/04/28 18:41:27  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
## Revision 1.3  1998/07/28 11:23:31  peterg
## Put / explicitly in awk.
##
## Revision 1.2  1998/07/27 08:38:11  peterg
## Just look for / in the relevant field.
##
## Revision 1.1  1998/07/17 17:04:50  peterg
## Initial revision
##
###############################################################


# Regexp for an alias
alias='^[#%]ALIAS'

if [ -f $1_lbl.txt ]; then
    grep $alias $1_lbl.txt | gawk '{if (match($3,"/")>0) print "mtt -q compcopy " $3}'
fi










MTT: Model Transformation Tools
[ GitHub | SourceHut | Sourceforge | Fossil RSS ]