Skip to content

Commit 7b96964

Browse files
Merge pull request #181 from ossf/unbreak_leading_dash
Remove unintended paragraph break
2 parents fbba0df + 6ab06f2 commit 7b96964

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

secure_software_development_fundamentals.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3130,9 +3130,7 @@ Microsoft Windows pathnames can be extremely difficult to deal with securely. Wi
31303130

31313131
#### Unix/Linux Pathnames
31323132

3133-
Filenames and pathnames on Unix-like systems are not always easy to deal with either. On most Unix-like systems, a filename can be any sequence of bytes that does not include **\0** (the terminator) or slash. One common misconception is that Unix filenames are a string of characters. Unix filenames are not a string of one or more characters; they are merely a sequence of bytes, so a filename does not need to be a legal sequence of characters. For example, while it is a common convention to interpret filenames as a UTF-8 encoding of characters, most systems do not actually enforce this. Indeed, they tend to enforce nothing, so many problematic filenames can be created, including filenames with spaces (or only spaces), control characters (including newline, tab, escape, etc.), bytes that are not legal UTF-8, or
3134-
3135-
including a leading “**-**” (the marker for command options). These problematic filenames can cause trouble later.
3133+
Filenames and pathnames on Unix-like systems are not always easy to deal with either. On most Unix-like systems, a filename can be any sequence of bytes that does not include **\0** (the terminator) or slash. One common misconception is that Unix filenames are a string of characters. Unix filenames are not a string of one or more characters; they are merely a sequence of bytes, so a filename does not need to be a legal sequence of characters. For example, while it is a common convention to interpret filenames as a UTF-8 encoding of characters, most systems do not actually enforce this. Indeed, they tend to enforce nothing, so many problematic filenames can be created, including filenames with spaces (or only spaces), control characters (including newline, tab, escape, etc.), bytes that are not legal UTF-8, or including a leading “**-**” (the marker for command options). These problematic filenames can cause trouble later.
31363134

31373135
Some potential problems with filenames are specific to the shell, but filename problems are not limited to the shell. A common problem is that “**-**” is the option flag for many commands, but it is a legal beginning of a filename.
31383136

0 commit comments

Comments
 (0)