Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix printf syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
FriendlyNeighborhoodShane committed Jul 26, 2020
1 parent d744927 commit db7942c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ See something incorrectly described, buggy or outright wrong? Open an issue or s
* [Loop over the contents of a file](#loop-over-the-contents-of-a-file)
* [Loop over files and directories](#loop-over-files-and-directories)
* [VARIABLES](#variables)
* [Name a variable based on another variable](#name-a-variable-based-on-another-variable)
* [Name and access a variable based on another variable](#name-and-access-a-variable-based-on-another-variable)
* [ESCAPE SEQUENCES](#escape-sequences)
* [Text Colors](#text-colors)
* [Text Attributes](#text-attributes)
Expand Down Expand Up @@ -682,7 +682,7 @@ done
```shell
$ var="world"
$ eval "hello_$var=value"
$ eval printf '%s\n' "\$hello_$var"
$ eval printf '%s\\n' "\$hello_$var"
value
```

Expand Down

0 comments on commit db7942c

Please sign in to comment.