[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem mit cut



On 21.Jun 2004 - 07:48:50, Christoph Wegscheider wrote:
> Andreas Pakulat wrote:
> 
> > wollte mal cut statt awk nehmen in nem Skript, leider gibts da ein
> > Problem, cut schneidet nicht wie es soll....
> > 
> > Folgendes:
> > 
> > echo test t | cut -f1 klappt nicht,
> 
> ,----[ man cut ]
> |       -d, --delimiter=DELIM
> |               use DELIM instead of TAB for field delimiter
> | 
> `----

Ok, so schlau war ich natuerlich auch (habs nur vergessen zu erwaehnen
;-) und ein 

echo test t | cut -f1 -d= 

ergibt ebenso "test t"

Andreas

-- 
Be not anxious about what you have, but about what you are.
		-- Pope St. Gregory I



Reply to: