cnescatlab / cnescatlab/i-CodeCNES

False positives on SH.MET.PipeLine

Open
#151 0 comments 0 reactions 0 assignees View on GitHub
false positive shell
Dominant language
Fortran
Stars
63
Forks
18
PR merge metrics
No merged PRs in 30d

Description

### Expected behavior
The comment for a pipe should apply to all of its lines

### Actual behavior
On the CNES RNC example for this rule, which is written over several lines, the 1st line has no violation, but the following ones do. When written on a sigle line there is no violation.

### Steps to reproduce behavior
# Cette commande permet de recherche dans un archive tous les
# fichier d’extension « .c » et d’afficher le plus volumineux
tar tvf ./archive.tar |
awk '{print $3, $6}' |
egrep '\.c$' |
sort -nr |
head -1

### Detection version
3.1.0-dev.alpha4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.