What shebang should motioneye/scripts/po2json have? #2156

Closed
opened 2026-02-28 01:05:41 -05:00 by deekerman · 1 comment
Owner

Originally created by @cclauss on GitHub (Mar 12, 2022).

@jmichault It would be good to enable check-executables-have-shebangs in our pre-commit at https://github.com/motioneye-project/motioneye/blob/dev/.pre-commit-config.yaml#L6 but I am unsure the shebang should be for motioneye/scripts/po2json

Originally created by @cclauss on GitHub (Mar 12, 2022). @jmichault It would be good to enable [`check-executables-have-shebangs`](https://github.com/pre-commit/pre-commit-hooks#check-executables-have-shebangs) in our pre-commit at https://github.com/motioneye-project/motioneye/blob/dev/.pre-commit-config.yaml#L6 but I am unsure the [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) should be for `motioneye/scripts/po2json`
deekerman 2026-02-28 01:05:41 -05:00
Author
Owner

@MichaIng commented on GitHub (Mar 12, 2022):

This is actually a shell script:

#!/bin/sh

The major part of the code is an awk script, but embedded in the shell pipe 😉.

@MichaIng commented on GitHub (Mar 12, 2022): This is actually a shell script: ```sh #!/bin/sh ``` The major part of the code is an `awk` script, but embedded in the shell pipe 😉.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#2156
No description provided.