search for: trim_whitespac

Displaying 6 results from an estimated 6 matches for "trim_whitespac".

Did you mean: trim_whitespace
2010 Jan 14
0
[PATCH] Presents duplicate DNS and NTP server entries.
...igure_dns while true; do printf "\n" read -ep "Please enter the ${dns} DNS server (or ENTER to exit): " - if [[ -z "${REPLY}" ]]; then + local ADDRESS=$(trim_whitespace "$REPLY") + if [[ -z "${ADDRESS}" ]]; then if [[ -z "${DNS}" ]]; then printf "\nAborted...\n" return @@ -366,15 +367,20 @@ function configur...
2010 Jan 14
1
Ignore that last patch...
The first line of the comment had a typo in it.
2010 Mar 24
1
Resending a refactored patch...
This was an older patch that had to be rebased against the current tip.
2010 Mar 24
1
Supercedes previous patch...
This includes a missed break and two spots where $ADDRESS was copied as $address instead.
2010 Jan 18
1
Refactored patch...
This patch supercedes the previous and includes fixes based on feedback from apevec. Duplicate checks now check the whole address, so substrings won't cause false positives.
2010 Jan 18
1
Fixed a karg issue...
I missed one situation in the last patch. It wasn't properly handling the karg for NTP. This patch fixes that.