Advanced

Working around the BASH brace expansion rule

Posted by Bob_Mesibov on
BASHing data; By Bob Mesibov
Mail this story
Print this story

Brace expansion in BASH is a neat way to build a Cartesian product, like all the combinations of a set of first names and a set of last names. Unfortunately, you can't do this with strings unless they're in comma-separated lists. This post explains two alternatives.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.