Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 1997 00:43:00 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        vince@mail.MCESTATE.COM (Vincent Poy)
Cc:        msmith@atrad.adelaide.edu.au, chat@freebsd.org
Subject:   Re: Autocreate script
Message-ID:  <199702271413.AAA04077@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.BSF.3.95.970227055831.438m-100000@mail.MCESTATE.COM> from Vincent Poy at "Feb 27, 97 05:59:04 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Vincent Poy stands accused of saying:
> > $ echo $string | cut -c 1-8 
> > SomeLong
> 
> 	Thanks!
> 
> OK...how would I get that result into another variable like $string2 ?

Cripes Vince, how f'n lazy are you?  How about you spend a few
well-worth-it hours reading the 'sh' documentation?

I'll even give you a hint : learn the difference between ` and '.

> Vince - vince@MCESTATE.COM - vince@GAIANET.NET           ________   __ ____ 

-- 
]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
]] Genesis Software                     genesis@gsoft.com.au            [[
]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702271413.AAA04077>