The learning process
zkver=$(curl http://www.apache.org/dist/zookeeper/stable/ |grep -o 'zookeeper-[0-9].[0-9].[0-9][0-9].tar.gz' |(head -n1 && tail -n1)|sed 's/.tar.gz//')
echo $zkver zookeeper-3.4.10
No comments:
Post a Comment