Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written) OpenAssistant Conversations (oasst2)
Why are POSIX-shellscripts superior compared to Bash-shellscripts?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Why are POSIX-shellscripts superior compared to Bash-shellscripts?
- Assistant
There is no strict rule for which scripting language should be used and it mostly boils down to personal preference. However, there are some factors that could make POSIX shell scripts more preferred:
- POSIX (Portable Operating System Interface Extension for Unix Specification) ensures a greater degree of portability than bash across different platforms; this means that scripts written in POSIX sh may have a higher chance of running on other systems without the need for modification.
- As a result of being limited by the specifications imposed by POSIX, these scripts tend to be smaller, faster and use less memory compared to bash scripts. They can also sometimes accomplish tasks with fewer lines of code and using simpler syntax.
- Lastly, bash has a steeper learning curve, whereas the basics of sh can be learned relatively quickly due to its simple command set and structure.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →