get the first 5 characters from each line in shell script - Stack Overflow

get the first 5 characters from each line in shell script - Stack Overflow

瀏覽:1315
日期:2026-04-23
bin/sh filename='sample.txt' filelines=`cat $filename` while read -r line do id= cut - c-5 $line echo $id #code for passing id to other script file as ......看更多