HELLO DORAEMONS,
IRA unix Music set You have a file having Music details. The format of the file is as below ('#' is the field delimeter):
ID#Playlist Type#Count
118Melody#22
234#Devotional#24
341#Mass#26
511#Sad#27
Write a Unix command to find the sum of count whose count is less than 25. Print output in following formatTotal sum: The file name will be provided as a command line argument when the script containing your command will run. You can use shell variables (e.g. $0,51,$2) whichever is applicable for your requirement to provide the command line argument. For more clarity on inputs and outputs, please refer to the sample input and output below.
Note: In case there are no records fulfilling the given condition, print below message. "No record found."
Sample Input 1:
ID#PlaylistType#Count
101#Melody#22
234#Devotional#24
341#Mass#26
511#Sad#27
Output:
Total sum: 46
IF YOUR CONFUSED AND DON'T KNOW HOW TO SOLVE THIS QUESTIONS. REFER TO THE BELOW VIDEO.I HAVE GIVEN DETAILED STRUCTURE TO FOLLOW AND EASIEST WAY TO SOLVE THIS QUESTION.
VIDEO WILL BE POSTED SOON!!!!!!
HOPE THIS IS HELPFUL TO YOU GUYS.IF YOU LIKE MY WORK ,CONSIDER SUBSCRIBING TO MY CHANNEL AND FOLLOW MY BLOGPOST FOR MORE UPDATES.
0 Comentarios