1

Parse output path to set variable

view story
linux-howto

http://www.unix.com – I am looking to parse a text file output and set variables based on what is cropped from the parsing. Below is my script I am looking to add this feature too. All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the output file and emails the output file when done to a number of people that is defined in the script. I want it to also email the username found in the output file. Below the script is a sample output of what is emailed. #!/bin/bash _dufile="/tmp/testing-results.log" MAILTO=myname@mydomain.com (HowTos)