-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgenerate-data.sh
53 lines (30 loc) · 916 Bytes
/
generate-data.sh
1
2
3
4
5
6
7
8
9
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
43
44
45
46
47
48
49
50
51
52
53
#!bin/bash
APPS="apps"
CLOUDANT="cloudant"
DASHDB="dashdb"
DB2="db2"
MSSQL="mssql"
MYSQL="mysql"
POSTGRESQL="postgresql"
MONGODB="mongodb"
JUGGLER="juggler"
echo "# App Statistics" >> STATS.md
echo "" >> STATS.md
echo "Total number of apps: `ls $APPS/* | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "Cloudant: `ls $APPS/$CLOUDANT | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "DashDB: `ls $APPS/$DASHDB | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "DB2: `ls $APPS/$DB2 | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "MSSQL: `ls $APPS/$MSSQL | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "MySQL: `ls $APPS/$MYSQL | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "Postgresql: `ls $APPS/$POSTGRESQL | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "MongoDB: `ls $APPS/$MONGODB | wc -l`" >> STATS.md
echo "" >> STATS.md
echo "Juggler: `ls $APPS/$JUGGLER | wc -l`" >> STATS.md
echo "" >> STATS.md