View Single Post
  #1 (permalink)  
Old March 8th, 2015, 12:03 PM
mashour06 mashour06 is offline
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote