⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bcshell

📁 su 的源代码库
💻
字号:
# sample showing loop counting with expr and arithmetic with bc#! /bin/sh# initialize valuesi=0j=0k=0# beginning of loopwhile [ "$i" -ne "6" ]do	echo "i=$i   j=$j   k=$k"	# compute j = $i/2	j=`bc -l <<-END		scale=4		$i / 2	END`	# compute k = $i * $j	k=`bc -l <<-END		scale=4		$i * $j	END`	# compute update loop counter	i=`expr $i + 1`doneexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -