Mondi su mondi, sistemi di sistemi.

Bash 4

Non è solo Safari che è arri­vato alla 4 ver­sione, c’è anche la bash!

La mag­gior parte delle novità sono di scarso inte­resse per un uti­liz­za­tore ele­men­tare come me, ma alcune sono comun­que degne di interesse:

  • “There is a new ‘map­file’ buil­tin to popu­late an array with lines from given file. The name ‘rea­dar­ray’ is a synonym.”
  • “There is a new shell option: ‘glob­star’. When ena­bled, the glob­bing code treats ‘**’ spe­cially — it mat­ches all direc­to­ries (and files within them, when appro­priate) recursively.”
  • “There is a new shell option: ‘dir­spell’. When ena­bled, the file­name com­ple­tion code per­forms spel­ling cor­rec­tion on direc­tory names during completion.”
  • “There is a new &» redi­rec­tion ope­ra­tor, which appends the stan­dard out­put and stan­dard error to the named file.”
  • “The par­ser now under­stands ‘|&’ as a syno­nym for ‘2>&1 |’, which redi­rects the stan­dard error for a com­mand through a pipe.”
  • “The shell pro­vi­des asso­cia­tive array varia­bles, with the appro­priate sup­port to create, delete, assign values to, and expand them.”

Per proseguire

Commenti e trackback sono disabilitati.