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
You must use the keyword ''var'' to create and initialize a variable. The placement of the variable creation in your code is very important. Examples: var first = 21; var secon
Does anyone know anything about java programming here?
Windows Presentation Foundation Designed by Microsoft Technologies, the Microsoft Technologies windows Display Groundwork (or WPF) is a computer-software graphic subsystem for maki
Design an application that opens and analyses word files. Requirements: Create an application that analyses text documents. It should open a text file, read each word into an ap
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
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Expertsmind brings you unique solution in java assignments Interfaces A program in the Java selection language is a fuzzy type that is used to specify a program (in the ge
Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s
a given number is prime or not
Write a program that takes names of 5 students in 2D Character Array and their GPAs in 1D array. Arrange the names in alphabetical order and display on screen along with GPA.
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