Wc: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Akalavus (talk | contribs)
Akalavus (talk | contribs)
Line 10: Line 10:


=WC=
=WC=
 
Näide ühe ja kahe sisendfaili andmisest käsklusele wc.
[[File:Word_count_1.png]]
[[File:Word_count_1.png]]



Revision as of 11:47, 29 October 2017

WC(WordCount) ja NL(Number Lines)

Autor: Andres Kalavus

Rühm: A21

VALMIMISEL

Sissejuhatus

Word count ehk wc on Linuxi käsklus mis väljastab antud faili(de) ridade, sõnade, karakterite ja baidi arvu.

WC

Näide ühe ja kahe sisendfaili andmisest käsklusele wc.

NL

Linuxi käsklus number lines aitab nummerdada tekstifaili ridu lisades iga mitte-tühja rea ette numbri. Vaikimisi on rea number 6 märki lai millele lisatakse "tab".

Kokkuvõte

Allikad

https://alvinalexander.com/unix/edu/examples/wc.shtml http://linuxcommando.blogspot.com.ee/2008/06/how-to-number-each-line-in-text-file-on.html