Open
Description
Motivation
I have had a look through the stdlib_io
module and cannot find the following procedures implemented. But I could be wrong.
Should stdlib contain some more io
features present in languages such as bash? I quite often find the need to use the following and have, so far, resorted to using my own implementations:
- touch (bash form of creating a blank file or directory if it doesn't already exist)
- grep (get regular expression from the file)
- goto (go to line number)
I often find the need for procedures to quickly navigate and check for strong occurrences within files to be able to best take advantage external files.
Prior Art
- touch - implemented in bash
- grep - implemented in bash
- goto - not sure if many languages have one like this, but the closest I can think of would be
sed -n '10p' filename
.
Additional Information
No response