Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
Harold Fischer's user avatar
Harold Fischer's user avatar
Harold Fischer's user avatar
Harold Fischer
  • Member for 6 years, 3 months
  • Last seen more than 1 year ago
34 votes
4 answers
6k views

When creating an empty file, why might one prefer 'touch file' over ': >> file'?

34 votes
2 answers
4k views

What conditions must be met for a file to be a text file as defined by POSIX?

18 votes
2 answers
2k views

POSIX shell: does `$` lose its special meaning if it is the last character in a word?

16 votes
3 answers
3k views

Why is the behavior of the `#!` syntax unspecified by POSIX?

13 votes
2 answers
29k views

What characters need to be escaped when using the printf command?

10 votes
3 answers
9k views

On the desktop with Bash, should I use '&', nohup, disown, or some combination of the three to start a process and have it run completely on its own?

10 votes
1 answer
2k views

When printing a variable that contains newlines, why is the last newline stripped? [duplicate]

8 votes
1 answer
743 views

bc: does POSIX prohibit standalone use of relational operators?

5 votes
9 answers
6k views

How can I make sure a string contains at least one uppercase letter, one lowercase letter, one number and one punctuation character?

4 votes
1 answer
191 views

Are there any shell utilities on modern Unix-like operating systems that cannot operate on text files with really long lines?

4 votes
0 answers
145 views

FreeBSD sh: is it possible to import a list of commands into fc without executing them?

3 votes
3 answers
4k views

POSIX Shell: inside of double-quotes, are there cases where `\` fails to escape `$`, ```, `"`, `\` or `<newline>`?

3 votes
0 answers
45 views

Should I set the locale to `C` when matching a range of numbers?

3 votes
1 answer
201 views

Would the inclusion of arrays in POSIX cause the POSIX standard to break?

2 votes
1 answer
1k views

Does SIGQUIT not have the effect of terminating a script in bash?

2 votes
2 answers
362 views

What is the right way to quote nested parameter expansions?

2 votes
4 answers
2k views

How can I feed a string to awk for the purpose of mathematical calculation?

1 vote
1 answer
8k views

dash: why am I getting the error "Syntax error: EOF in backquote substitution" when my script doesn't even contain a backquote?

1 vote
1 answer
723 views

How can I make the title bar dynamically update itself after connecting to a remote machine that uses sh as the default shell?

1 vote
2 answers
105 views

Why must I call sed a second time after substituting spaces with newlines?

0 votes
0 answers
26 views

Why do newer versions of GNU `ls` have different output in command substitution when dealing with newlines? [duplicate]

0 votes
0 answers
266 views

FreeBSD: how can I check if `/dev/random` is blocking?

0 votes
0 answers
886 views

CentOS 7 and 8: how do I prevent third party repositories from overwriting core parts of CentOS?

0 votes
1 answer
2k views

Is GNU grep's -P option safe to use in production?

0 votes
2 answers
807 views

Is the behavior of escaping special characters inside double-quotes in mainstream POSIX-compliant shells at odds with POSIX?

0 votes
1 answer
293 views

Why doesn't GNU `su` respect end of options?