Buffers Tutorial
From CCIL
Revision as of 11:38, 18 May 2017 by Atanas.ilchev (Talk | contribs)
TBA
files
list_of_items.txt
this is line 1 this is line 2 this is line 3 this is line 4 this is line 5
The application context
# CCIL Buffers tutorial #------------------------------------- context.title=Counters tutorial context.description=Introducing the very basics of CCIL - buffers context.author=Atanas Ilchev context.comment= context.thumbnail = media/logo.png context.step1.pipeline = READ,SPLIT # step 1 -------------------------- READ = readfile READ.file = hello.txt READ.output = msg SPLIT = split-basic SPLIT.mode = split SPLIT.input = msg SPLIT.output = lines # convert the String[] to buffer # append text to each element # step 4 -------------------------- APPEND = append-text APPEND.text = (step 4) APPEND.input = msg APPEND.output = msg WRITE = writefile WRITE.input = msg WRITE.file = * hello_from_step4.txt WRITE.append = true WRITE.separator = {NL} WRITE.encoding = utf-8