The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
append a string to a grep result
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
append a string to a grep result
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-19-2008
nua7
Registered User
Join Date: Mar 2008
Location: /bin/sh
Posts: 353
append_vendor=Disk`iostat -En | grep Vendor | grep -v DV | awk '{print $1 $2}' | sort -u`
echo $append_vendor
append_vendor would have DiskVendor
nua7
View Public Profile
Find all posts by nua7
Find nua7's past nominations received
Find nua7's present nominations given