Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

  • No labels