Advanced

Renumber a list after inserting a line

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

Murphy's Law says that after you carefully number all the items in a long list, you'll notice that you need to insert a new item in the middle. This post describes a function for inserting and renumbering.

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.