i have to check a licence of a product which i can by just typing
checklicence
in commandline.
it gives me output:
Product License status
Parameters of license Sxxxxx--xxxxx--xxxxx4
Volume
Regular texts
Units: Pages
Quantity: 120000 per year
Remains: 107852 this year
i want to find just how many remain's are there and print that.
So i tried of doing
>checklicense |grep -i "Remains:"
i am getting output as
>Remains: 107852 this year
But i just want the number 107852 as output
Is there any way how to do this?
my grep version is License GPLv3+: GNU GPL version 3
License GPLv3+: GNU GPL version 3