Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

mini cd manager problem

linux shell

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 ma06

ma06

    CC Lurker

  • New Member
  • Pip
  • 4 posts

Posted 08 March 2015 - 02:30 PM

 In the book beginning linux programming 4th edition chapter 2 mini CD manager, Can any one please explain the next code: in the function remove_records():

grep -v "^${cdcatnum}," $title_file > $temp_file
mv $temp_file $title_file
grep -v "^${cdcatnum}," $tracks_file > $temp_file
mv $temp_file $tracks_file

any help will be greatly appreciated. thank you.