p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Beginning Linux Programming, 4th Edition ISBN 978-0-470-14762-7 (http://p2p.wrox.com/book-beginning-linux-programming-4th-edition-isbn-978-0-470-14762-7-375/)
-   -   shell mini cd manager question (http://p2p.wrox.com/book-beginning-linux-programming-4th-edition-isbn-978-0-470-14762-7/94240-shell-mini-cd-manager-question.html)

mashour06 March 8th, 2015 12:03 PM

shell mini cd manager question
 
Hello,
chapter 2 mini CD manager. Can any one please explain the next code:
in the function remove_records():
[code]

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

[code]
any help will be greatly appreciated.
thank you.


All times are GMT -4. The time now is 08:54 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.