summaryrefslogtreecommitdiffstats
path: root/src/formats/tcsh_history.json
blob: 86f7cbd5883737e2cd37bda44b35642171a9adc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "$schema": "https://lnav.org/schemas/format-v1.schema.json",
    "tcsh_history": {
        "title": "TCSH History",
        "description": "The tcsh history file format.",
        "convert-to-local-time": true,
        "regex": {
            "std": {
                "pattern": "^#(?<timestamp>\\+\\d+)\\n?(?<body>.*)?$"
            }
        },
        "sample": [
            {
                "line": "#+1375138067\necho HELLO=BAR"
            }
        ]
    }
}