-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
When running cobra under Win10 (cygwin), e.g. cobra -f misra2012 test.c, the first two lines of output are always:
trailing backslash (\)
empty (sub)expressionMy guess is this output is generated by one of the external tools cobra is calling, i.e. grep, sed, find, etc. In linux (Ubuntu 22.04.5 LTS) i don't see this behavior when running cobra with the same parameters on the same code.
cygwin: grep --version
grep (GNU grep) 3.12
Packaged by Cygwin (3.12-1)
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others; see
<https://git.savannah.gnu.org/cgit/grep.git/tree/AUTHORS>.
grep -P uses PCRE2 10.45 2025-02-05cygwin: sed --version
sed (GNU sed) 4.9
Packaged by Cygwin (4.9-1)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jay Fenlason, Tom Lord, Ken Pizzini,
Paolo Bonzini, Jim Meyering, and Assaf Gordon.
This sed program was built without SELinux support.
GNU sed home page: <https://www.gnu.org/software/sed/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed@gnu.org>.cygwin: find --version
find (GNU findutils) 4.10.0
Packaged by Cygwin (4.10.0-1)
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=1)Metadata
Metadata
Assignees
Labels
No labels