Working around the BASH brace expansion rule

Posted by Bob_Mesibov on Jun 14, 2019 6:08 PM EDT
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

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.