Команды SFK


    1        2        3        4        5        6        7        8        9        10    

Раздел 4. Text Processing - Обработка текста
addhead | addtail | count | difflines | filter | head | joinlines | linelen | load | ofilter | perline | printloop | replace | run | runloop | snapto | sort | strings | tail | xed | xex | xreplace |

Help:   Рус   |   Eng        

Команда: addtail
sfk addhead out [-blank] string1 string2 ...
sfk filter in.txt +addtail string1 string2 ...

   insert string(s) at the start or end of text lines.

   options
      -blank    add blank chars between added strings.
                not default since sfk 1.8.7.

   chaining support
      supports input and output chaining.

   see also
      sfk filter infile.txt -form "string1$col1"
         does the same and is more flexible.

   examples
      sfk echo bar +addhead foo
         prints "foobar".