How can I remove price from following data in Shell Script? I am printing labels and don't want to show price.
Input:
Order: 12
Name: Raj K
ABC Inc
123 Main St
Edison NJ
1 Printer - $50.09
Router - $30.00
2 AirPrint - $56.10
Output
Order: 12
Name: Raj K
ABC Inc
123 Main St
Edison NJ
1 Printer
Router
2 AirPrint
Any ideas?
No comments:
Post a Comment