Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
W.A.S.S to print the following:
i. Count of characters, words and lines from a file.
ii. Count of five character words.
iii. Convert all lower case characters to upper case.
Program
#W.A.S.S. to Count of characters, words and lines from a file.
echo -e "Total character in the file are: \c"
cat good.sh |wc -c
echo -e "Total words in the file are: \c"
cntw=0
for w in `cat good.sh`
do
cntw=`expr $cntw + 1`
done
echo "$cntw"
echo -e "Total lines in the file are : \c"
cat good.sh | wc –l
Output
Total character in the file are: 162
Total words in the file are: 27
Total lines in the file are : 15
Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n
Question: (a) (i) Describe what an XML Data Island is and outline the restrictions of using a Data Island. (ii) The following XML file book.xml is used to keep track of a l
I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME
Write a procedure named Str_concat that concatenates a source string to the end of a target string. Sufficient space must exist in the target string to accommodate the new characte
Assume that you are a college professor needing to average grades for 10 students. Write a program that asks for each student's name and grade. Print the list on-screen with each s
Question 1- In engineering applications it is often necessary to fit a straight line to a set of N points with known coordinates (xi, yi), where i indexes the points (N in total).
2. Design an ER diagram for an IT training group database that will meet the information need’training programme. Clearly indicate the entities, relationships and the key constrain
An HTML document may be created via any HTML editor or text editor such as notepad etc.
We'll start this section off with the material which most text books that will cover in this section. We will take the matter from the Second Order chapter and expand this out to n
Have the user input two values. Store them in variables called savings and expenses, both of data type double. If expenses is less than savings, subtract expenses from savings, o
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd