I would rather not perform data munging with a shell pipeline, this would be done more easily by doing something like:

```ruby
output = Facter::Util::Resolution.exec('route -n')
default_route = output.lines.find { |line| line.match /^0\.0\.0\.0/ }
dgwev = default_route.split(\s+\).last
```