fs_wc

Determine the number of newlines, words and bytes in a file.

Usages

fs_wc [file]

Arguments

file

Path of file to examine.

Output

Number of newlines, words and bytes; equivalent to:

printf("%d %d %d %s", newline_cnt, word_cnt, byte_cnt, file);

Required Configuration

Available only if FS_SHELL_CFG_WC_EN is DEF_ENABLED.

Notes/Warnings

None.

fs_wc output