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

Re: OT C++ in perl umwandeln



Nico Jochens wrote:

> kann mir jemand von euch sagen wie ich folgende Zeilen in perl
> schreiben muss:
> 
> #!/bin/sh
>  
>  testi1=`echo "13.2.200422.12.200510.1.2006" | cut -d "." -f 1`
>  testi2=`echo "13.2.200422.12.200510.1.2006" | cut -d "." -f 2`
>  testi3=`echo "13.2.200422.12.200510.1.2006" | cut -d "." -f 3`
>  testi31=`echo $testi3 | cut -b 1,2,3,4`
>   
>   echo "$testi1.$testi2.$testi31"

Wo ist denn da bitte das C++?

Grüße,


Björn 

-- 
BOFH excuse #231:

We had to turn off that service to comply with the CDA Bill.



Reply to: