Project

General

Profile

« Previous | Next » 

Revision 221

VegX-VegBIEN.organisms.csv: sort output of repl

View differences:

Makefile
14 14
clean: FORCE
15 15
	$(RM) $(all)
16 16

  
17
sort = ../scripts/util/sort 1 0
18
repl = ../scripts/util/repl
19
chRoot = ../scripts/util/ch_root <$< >$@
17 20

  
21

  
18 22
VegBank-VegBIEN: schemas/vegbien.sql VegX-VegBIEN.organisms.csv
19 23

  
20
repl = ../scripts/util/repl
21

  
22 24
schemas/vegbien.sql: schemas/vegbank.sql
23 25
	$(repl) <$< VegBank-VegBIEN.schema.csv|$(repl) VegBank-VegBIEN.csv >$@
24 26

  
25 27
VegX-VegBIEN.organisms.csv: VegX-VegBank.organisms.csv
26
	$(repl) <$< VegBank-VegBIEN.csv 1 >$@
28
	$(repl) <$< VegBank-VegBIEN.csv 1|$(sort) >$@
27 29

  
28 30

  
29 31
plots: $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv))
30 32

  
31
chRoot = ../scripts/util/ch_root <$< >$@
32

  
33 33
chRoot2PlotsLeftVegx =\
34 34
	env \
35 35
	left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \

Also available in: Unified diff