1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
inessss [21]
3 years ago
8

In this assignment, you will demonstrate your ability to write simple shell scripts. This is a cumulative assignment that will c

hallenge you to pull together a variety of lessons from throughout the course. Earlier in the semester, when looking at the problems of file transfer, we discussed the difference beteween binary and ASCII files and the two styles of ASCII text files. In this assignment, you will write a script to diagnose whether a group of files are Windows-style ASCII text and, if so, will convert them to Unix-style ASCII text.
Engineering
1 answer:
nevsk [136]3 years ago
8 0

Answer:

Explanation:

Usage: flip [-t|-u|-d|-m] filename[s]

  Converts ASCII files between Unix, MS-DOS/Windows, or Macintosh newline formats

  Options:

     -u  =  convert file(s) to Unix newline format (newline)

     -d  =  convert file(s) to MS-DOS/Windows newline format (linefeed + newline)

     -m  =  convert file(s) to Macintosh newline format (linefeed)

     -t  =  display current file type, no file modifications

You might be interested in
The specific gravity of a substance that has mass of 10 kg and occupies a volume of 0.02 m^3 is a) 0.5 b) 1.5 c) 2.5 d) 3.5 e) n
zhuklara [117]

Answer:

Specific gravity is 0.5 so option (a) is correct option

Explanation:

We have given mass of substance m =10 kg

Volume V=0.02m^3

Density of substance is given by Density\ d=\frac{mass}{volume}=\frac{10}{0.02}=500kg/m^3

Specific gravity is given by specific\ gravity=\frac{density\ of\ substance}{density\ f\ water}=\frac{500}{1000}=0.5

So option (a) is correct option

5 0
3 years ago
A cylinder with a piston restrained by a linear spring contains 2 kg of carbon dioxide at 500 kPa and 400°C. It is cooled to 40°
leonid [27]

Answer:

heat transfer for the process is - 643.3 kJ

Explanation:

given data

mass m = 2 kg

pressure p1 = 500 kPa

temperature t1 = 400°C = 673.15 K

temperature t2 = 40°C = 313.15 K

pressure p2 = 300 kPa

to find out

heat transfer for the process

solution

we know here mass is constant so

m1 = m2

so by energy equation

m ( u2 - u1 ) = Q - W

Q is heat transfer

and in process  P =  A+ N that is linear spring

so

W = ∫PdV

= 0.5 ( P1+P2) ( V1 - V2)

so for case 1

P1V1 = mRT

put here value

500 V1 = 2 (0.18892) (673.15)

V1 = 0.5087 m³

and

for case 2

P2V2 = nRT

300 V2 = 2 (0.18892) (313.15)

V2 = 0.3944 m³

and

here W will be

W = 0.5 ( 500 + 300 ) ( 0.3944 - 0.5087 )

W = -45.72 kJ

and

Q is here for Cv = 0.83 from ideal gas table

Q = mCv ( T2-T1 ) + W

Q = 2 × 0.83 ( 40 - 400 ) - 45.72

Q = - 643.3 kJ

heat transfer for the process is - 643.3 kJ

7 0
3 years ago
Which emission is created by the heat in the combustion process?
Musya8 [376]
Water vapor and carbon dioxide!
5 0
3 years ago
Read 2 more answers
A computer maintenance company wants to 'capture' the knowledge that employees carry around in their heads by creating a databas
galina1969 [7]

Answer: The answer is A. The company is trying to transfer intellectual capital to a knowledge management system

5 0
3 years ago
On a piece of paper, sketch the x-y stress state and the properly oriented principal stress state. Use the resulting sketch to a
stealth61 [152]

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step and very detailed solution of the given problem

6 0
3 years ago
Other questions:
  • To unload a bound stack of plywood from a truck, the driver first tilts the bed of the truck and then accelerates from rest. Kno
    7·1 answer
  • Marcelo es muy bueno resolviendo adivinanzas y acertijos. Por eso, estaba totalmente disgustado cuando se dio cuenta de que no e
    12·1 answer
  • Select all that apply.
    13·1 answer
  • A piston cylinder assembly fitted with a slowly rotating paddle wheel contains 0.13 kg of air at 300K. The air undergoes a const
    10·1 answer
  • What is a quasi-equilibrium process? What is its importance in engineering?
    14·1 answer
  • Employees cannot be held legally responsible for an environmental violation.
    14·1 answer
  • All of these are true about using adhesive EXCEPT:
    6·1 answer
  • The pressure less than atmospheric pressure is known as:
    6·1 answer
  • 3. What type of tool do you use to make angles?
    15·1 answer
  • What is software certification? Discuss its importance in the changing scenario of software industry. ​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!