পূর্ণসংখ্যাটি পাওয়ার কী কোনও উপায় আছে যা ডাব্লুসিটি ব্যাশে ফিরে আসে?
মূলত আমি ফাইলের নামের পরে পর্দায় লাইন নম্বর এবং শব্দ সংখ্যাটি লিখতে চাই।
output: filename linecount wordcount
আমার এখন পর্যন্ত যা আছে তা এখানে:
files=`ls`
for f in $files;
do
if [ ! -d $f ] #only print out information about files !directories
then
# some way of getting the wc integers into shell variables and then printing them
echo "$f $lines $ words"
fi
done