««« | »»»
Bash 4
Non è solo Safari che è arrivato alla 4 versione, c’è anche la bash!
La maggior parte delle novità sono di scarso interesse per un utilizzatore elementare come me, ma alcune sono comunque degne di interesse:
- “There is a new ‘mapfile’ builtin to populate an array with lines from given file. The name ‘readarray’ is a synonym.”
- “There is a new shell option: ‘globstar’. When enabled, the globbing code treats ‘**’ specially — it matches all directories (and files within them, when appropriate) recursively.”
- “There is a new shell option: ‘dirspell’. When enabled, the filename completion code performs spelling correction on directory names during completion.”
- “There is a new &» redirection operator, which appends the standard output and standard error to the named file.”
- “The parser now understands ‘|&’ as a synonym for ‘2>&1 |’, which redirects the standard error for a command through a pipe.”
- “The shell provides associative array variables, with the appropriate support to create, delete, assign values to, and expand them.”
Per proseguire
Commenti e trackback sono disabilitati.