  | |  | Pipe variable to CUT | Pipe variable to CUT 2005-04-14 - By Mike Wooding
Back
--- Jeff Boyce <jboyce@(protected)> wrote: > Greetings - > > I am having a problem using CUT to obtain a subset of text within a > variable ... [snip]
> VALUE1=`arkc -drive -read -D name=BisonTape` > echo 'Value1 : '$VALUE1 > VALUE2=$VALUE1|cut -f2 --delimiter=
VALUE2=`echo $VALUE1 | cut -f2 -d=`
> echo 'Value2 : '$VALUE2
He who laughs last thinks slowest.
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |