~aleteoryx/muditaos

ref: f3480da43ee4176bc2c91f51ed52d29e6ef36599 muditaos/tools/last_changelog.awk -rwxr-xr-x 270 bytes
f3480da4 — Marek Niepieklo [EGD-7269] Phone stuck on log dump operation 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/awk -f
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

BEGIN {
    version_count=0
}

/^## / {
    version_count++
}

{
    if(version_count < 2) {
        print $0
    }
}