Skip to content

Add highlighting for strace command output #7575

@Gunni

Description

@Gunni

Not a programming language, commonly used application with useful output in text format.

Language name

strace

URL of example repository

https://github.com/strace/strace

URL of syntax highlighting grammar

Probably just C, seems that the C syntax highlighter can be aliased and used as-is.

Most popular extensions

N/A

Detected language

N/A

Example output

socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 20
connect(20, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("104.19.192.174")}, 16) = -1 EINPROGRESS (Operation in progress)
epoll_ctl(13, EPOLL_CTL_ADD, 20, {EPOLLOUT, {u32=20, u64=20}}) = 0
epoll_pwait(13, [], 1024, 0, NULL, 8)   = 0
epoll_pwait(13, [{EPOLLOUT, {u32=20, u64=20}}], 1024, 8099, NULL, 8) = 1
getsockopt(20, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
munmap(0x7f66a6a32000, 8192)            = 0
madvise(0x7f66aec40000, 12288, MADV_FREE) = 0
madvise(0x7f66aec7e000, 4096, MADV_FREE) = 0
madvise(0x7f66aec37000, 12288, MADV_FREE) = 0
madvise(0x7f66aec7c000, 4096, MADV_FREE) = 0
madvise(0x7f66aec7e000, 4096, MADV_FREE) = 0
madvise(0x7f66aec40000, 12288, MADV_FREE) = 0
madvise(0x7f66aec7c000, 4096, MADV_FREE) = 0
write(17, "Error response received: Cannot "..., 84Error response received: Cannot use the access token from location: <my ipv4 address>
) = 84
madvise(0x7f66aec7e000, 4096, MADV_FREE) = 0
madvise(0x7f66aec7c000, 4096, MADV_FREE) = 0
futex(0x7f66af544974, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f66b15587f4, FUTEX_WAKE_PRIVATE, 1) = 1
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8
futex(0x7f66b1550b70, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
munmap(0x7f66b0d4e000, 8400896)         = 0
munmap(0x7f66b054b000, 8400896)         = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Add LanguageGood First IssueThis is a great opportunity to start contributing to Linguist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions