This script uses awk to summarize book sales data from a pipe-delimited file. It prints the book name, price, and an offer (Buy1Get2 for prices over 750, 100RsCashback for prices between 500-750, or FreeDelivery for lower prices). Total sales are also calculated.
This script uses awk to summarize book sales data from a pipe-delimited file. It prints the book name, price, and an offer (Buy1Get2 for prices over 750, 100RsCashback for prices between 500-750, or FreeDelivery for lower prices). Total sales are also calculated.
This script uses awk to summarize book sales data from a pipe-delimited file. It prints the book name, price, and an offer (Buy1Get2 for prices over 750, 100RsCashback for prices between 500-750, or FreeDelivery for lower prices). Total sales are also calculated.