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
In details and step-by-step, show how you apply the Bubble Sort algorithm on the following list of values. Your answer should sh
astraxan [27]

( 12 17 18 19 25 )

<u>Explanation:</u>

<u>First Pass:</u>

( 19 18 25 17 12 ) –> ( 18 19 25 17 12 ), Here, algorithm compares the first two elements, and swaps since 19 > 18.

( 18 19 25 17 12 ) –> ( 18 19 25 17 12 ), Now, since these elements are already in order (25 > 19), algorithm does not swap them.

( 18 19 25 17 12 ) –> ( 18 19 17 25 12 ), Swap since 25 > 17

( 18 19 17 25 12 ) –> ( 18 19 17 12 25 ), Swap since 25 > 12

<u>Second Pass:</u>

( 18 19 17 12 25 ) –> ( 18 19 17 12 25 )

( 18 19 17 12 25 ) –> ( 18 17 19 12 25 ), Swap since 19 > 17

( 18 17 19 12 25 ) –> ( 18 17 12 19 25 ), Swap since 19 > 12

( 18 17 12 19 25 ) –> ( 18 17 12 19 25 )

<u>Third Pass:</u>

( 18 17 12 19 25 ) –> ( 17 18 12 19 25 ), Swap since 18 > 17

( 17 18 12 19 25 ) –> ( 17 12 18 19 25 ), Swap since 18 > 12

( 17 12 18 19 25 ) –> ( 17 12 18 19 25 )

( 17 12 18 19 25 ) –> ( 17 12 18 19 25 )

<u>Fourth Pass:</u>

( 17 12 18 19 25 ) –> ( 12 17 18 19 25 ), Swap since 17 > 12

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 ), Swap since 18 > 12

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

Now, the array is already sorted, but our algorithm does not know if it is completed. The algorithm needs one whole pass without any swap to know it is sorted.

<u>Fifth Pass:</u>

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

( 12 17 18 19 25 ) –> ( 12 17 18 19 25 )

6 0
3 years ago
The figure below appeared three heat treatments processes of steel (A, B and C),
Contact [7]

Answer:

b

Explanation:

3 0
3 years ago
Who is the first presidant of the us?
dexar [7]

Answer:

George Washington was the first president

8 0
3 years ago
Read 2 more answers
Ronny owns a paper manufacturing company. He intends to turn the manufacturing waste into good use. What should he do?
ollegr [7]

Answer:

sulfur liquor, methane

Explanation:

100% on Plato

5 0
3 years ago
Read 2 more answers
an amplifier has an input resistance of 100k a short-circuit transconductance of 10 mA/V and an output resistance of 100k. Find
Vlada [557]

Answer:

The open circuit voltage gain is A_{vo}=-10^{3}

Explanation:

Given data is input resistance of an amplifier is R_{in}=100kΩ and output resistance of an amplifier is R_{o} =100kΩ.

Trans conductance of an amplifier is g_{m}=10mA/V

Thus Open circuit voltage gain is

A_{vo} =-g_{m}R_{o}

A_{vo}=-10×10^{-3}×100×10^{3}

Since 1m=10^{-3} and 1k=10^{3}

Thus,

A_{vo}=-1000

A_{vo}=-10^{3}

3 0
3 years ago
Other questions:
  • A closely wound, circular coil with radius 2.80 cm has 720 turns. Part APart complete What must the current in the coil be if th
    14·1 answer
  • Calcular la resistencia equivalente de tres resistencias cuyos valores son R1= 2, R2= 5,
    12·1 answer
  • A BS of 5.43 ft is taken on a level rod at a 120-ft distance, and a FS of 8.76 ft is taken on the rod held 1,100 feet away.(a) W
    6·1 answer
  • Dampers dampers springs are used inside some valve spring to
    10·1 answer
  • 3 MAOP stands for which of the following?
    9·1 answer
  • Assume there exists some hypothetical metal that exhibits ferromagnetic behavior and that has (1) a simple cubic crystal structu
    6·1 answer
  • Answer: D because you need an explanation <br> Explanation: Please I'll mark Brainliest
    6·1 answer
  • Which of the following conditions would completely shut down a circuit
    10·1 answer
  • Applications of attenuators.
    5·1 answer
  • What is
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!