.


:




:

































 

 

 

 


. SED. ,




Sed -- . stdin, , stdout . , , sed , .

Sed , , . [1] , . , 3d sed , /windows/d , , "windows", .

:

  • ;
  • , , , .
  • .

SED input ( ) PATTERN SPACE ( ), , PATTERN SPACE. PATTERN SPACE output. ( PATTERN SPACE , N, .4. SED)

:

SED [-n] [-e script] [-f sfile] [files]

script - SED, 200 10000 .

sfile - SED.

files - , SED -.

-n - , output , , p. (. 4. SED. 5. .)

-e , .

SED:

[address[,address]] function [arguments]

:

-E (), , .
re_format(7) .

-a ``w'' ( )
, . -a sed , ``w'' .

-e command command,

-f command_file command_file . .

-i extension , . ( ), . , , .

-l

-n , , . -n .

SED

.

:

  • ;
  • $ - input;
  • .

, pattern space;

, pattern space, ;

, .

Sed -e , , , , . , .

 


 





:


: 2016-04-03; !; : 378 |


:

:

- , , .
==> ...

1395 - | 1223 -


© 2015-2024 lektsii.org - -

: 0.013 .