I am in a process of refactoring some unix shell scripts
and find many inconsistencies and different styles in our code

For example:

```
somevar="${item1},${item2}"
somevar=${item1}","${item2}
somevar="$item1,$item2"

```

Is there a coding style guide for unix shell scripts? or a formatter like clang-format for C++

**[Edit]** Please note I am not asking for personal style preferences or personal opinion! I am looking for an industry standard document, a widely used style guide or a popular tool.