---
name: "cstr"
section: "1"
platform: "linux"
package: "liwc"
version: "1.21-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cstr"
---

# cstr(1)

print out string literals in C source code

## NAME

cstr - print out string literals in C source code

## SYNOPSIS

cstr \[-hv\] \[--help\] \[--version\] \[file ...\]

## DESCRIPTION

This program reads C source code files and prints out all string literals in them. Each literal starts on a new line. Escapes are not converted. Surrounding double quotes are not retained. Adjacent literals (with only white space in between) are not combined.

## AUTHOR

Lars Wirzenius, liw@iki.fi.
