streamlet-examples/lines_count
branchv_0
changeset 70 018e2609f5bb
parent 50 22ed5647b235
equal deleted inserted replaced
69:52f837fbb216 70:018e2609f5bb
    28 	send WAITING_FOR_INPUT_ATTRIBUTES
    28 	send WAITING_FOR_INPUT_ATTRIBUTES
    29 }
    29 }
    30 
    30 
    31 processMessage_WAITING_FOR_OUTPUT_ATTRIBUTES() {
    31 processMessage_WAITING_FOR_OUTPUT_ATTRIBUTES() {
    32 	if [[ -d "$currentFile" ]]; then
    32 	if [[ -d "$currentFile" ]]; then
    33 		value="0";
       
    34 		isNull="true";
    33 		isNull="true";
    35 	else
    34 	else
    36 		value=$(wc -l "$currentFile" | cut -d" " -f1);
    35 		value=$(wc -l "$currentFile" | cut -d" " -f1);
    37 		isNull="false";
    36 		isNull="false";
    38 	fi
    37 	fi