)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"e8335a8d2895b4c494e483f039aaee2e4302109b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"aa7dd2e5_1ebf1fd3","updated":"2023-12-24 14:36:09.000000000","message":"Moved the warning at the end of the script output, so its more visible when the output is not redirected to a file.","commit_id":"0df8d70ffef68edd3a15fba50ae4f4634cb544eb"}],"doc/usb_adapters/dump.sh":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"97fe8764f0929a5227ef8f047bf42753f8f07d80","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":"# SPDX-License-Identifier: GPL-2.0-or-later"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"function hid_unavailable_report() {"},{"line_number":5,"context_line":"\ta\u003d$(echo $1 | tr \u0027[:lower:]\u0027 \u0027[:upper:]\u0027)"},{"line_number":6,"context_line":"\tb\u003d$(basename $(dirname $(ls -d /sys/bus/usb/drivers/usbhid/*/*:$a.*)))"},{"line_number":7,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"319b1350_821fed03","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":9},"updated":"2023-12-29 14:23:25.000000000","message":"Ubuntu 22.04.3 LTS\n```\n$ ls -l /bin/sh\nlrwxrwxrwx 1 root root 4 lis  5  2022 /bin/sh -\u003e dash\n\n$ doc/usb_adapters/dump.sh 15a2 007f\ndoc/usb_adapters/dump.sh: 4: Syntax error: \"(\" unexpected\n```\n\nWithout `function` keyword works as expected","commit_id":"0df8d70ffef68edd3a15fba50ae4f4634cb544eb"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"6b82c2e900ebc717d2df4c91810165c99c93af8d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":"# SPDX-License-Identifier: GPL-2.0-or-later"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"function hid_unavailable_report() {"},{"line_number":5,"context_line":"\ta\u003d$(echo $1 | tr \u0027[:lower:]\u0027 \u0027[:upper:]\u0027)"},{"line_number":6,"context_line":"\tb\u003d$(basename $(dirname $(ls -d /sys/bus/usb/drivers/usbhid/*/*:$a.*)))"},{"line_number":7,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"0c5ac42f_f0ba1a24","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":9},"in_reply_to":"319b1350_821fed03","updated":"2023-12-29 15:16:26.000000000","message":"Thanks for spotting it!\n\u0027function\u0027 prefix is bash specific and the tool checkbashisms also triggers it!\nI\u0027m going to fix it immediately!","commit_id":"0df8d70ffef68edd3a15fba50ae4f4634cb544eb"}]}
