# Shell Snippet Collection

##### Write line same length as variable text

```shell
head -c "${#VARNAME}" </dev/zero | tr '\0' '-'
```