sccs-istext(1)

πŸ“¦ version 2022.10.16, in opensuse-leap 16.0

πŸ’… sccs-istext(1) β€” the "is this file actually text or not" check

okay so bestie, welcome to sccs-istext, a page from SchilyΒ΄s USER COMMANDS (manual section 1, obviously πŸ’…). She's here to answer one giant question: is your file cute little plain text, or does it need to be encoded? Let's get into it ✨


🌸 NAME 🌸

sccs-istext β€” check whether files are text files or need to be encoded

✨ SYNOPSIS ✨

sccs istext [options] [file1 .. filen]

πŸ¦‹ DESCRIPTION πŸ¦‹

The sccs istext subcommand checks whether the files are pure text files or whether they need to be encoded. That's it, that's the whole gig. πŸŽ€

Heads up bestie: this subcommand is a SCHILY extension that does not exist in historic sccs implementations. So if some ancient-manpage gremlin tells you otherwise, they're lying to you 😭

πŸ’… OPTIONS πŸ’…

  • -D β€” Print the current default history file format. This is the history file format assumed in case that neither -V4 nor -V6 have been specified. No file argument is permitted when this option has been specified β€” so don't try it, she will not be having it πŸ™ˆ
  • -s β€” Be silent 🀫. If all files are pure text, the exit code is 0.
  • -V4 β€” Check with SCCS v4 rules. A file is not pure text if it contains one or more null characters, if a line starts with \001 (^A), or if the file does not end with a newline character. Strict queen behavior πŸ‘‘
  • -V6 β€” Check with SCCS v6 rules. A file is not pure text if it contains one or more null characters. That's the only vibe check here, lowkey chill.

πŸ“ EXAMPLES πŸ“

Wanna check whether the file xec.c in the current directory is a pure text file? Say less, just call:

sccs istext xec.c

🌈 ENVIRONMENT VARIABLES 🌈

See environ(7) for descriptions of the following environment variables that affect the execution of sccs-istext(1): LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH.

  • SCCS_NO_HELP β€” If set, sccs istext will not automatically call help(1) with the SCCS error code in order to print a more helpful error message. Scripts that depend on the exact error messages of SCCS commands should set the environment variable SCCS_NO_HELP and set LC_ALL=C. iykyk 🫢

🧚 FILES 🧚

(no entries here bestie β€” she's an empty section, and we respect that πŸ’€)

πŸ‘‘ ATTRIBUTES πŸ‘‘

See attributes(7) for descriptions of the following attributes:

  • Availability β€” SCHILYdeveloper-build-sccs
  • Interface Stability β€” Committed

πŸ”₯ SEE ALSO πŸ”₯

sccs(1), sccs-add(1), sccs-admin(1), sccs-branch(1), sccs-cdc(1), sccs-check(1), sccs-clean(1), sccs-comb(1), sccs-commit(1), sccs-create(1), sccs-cvt(1), sccs-deledit(1), sccs-delget(1), sccs-delta(1), sccs-diffs(1), sccs-edit(1), sccs-editor(1), sccs-enter(1), sccs-fix(1), sccs-get(1), sccs-help(1), sccs-histfile(1), sccs-info(1), sccs-init(1), sccs-istext(1), sccs-ldiffs(1), sccs-log(1), sccs-print(1), sccs-prs(1), sccs-prt(1), sccs-rcs2sccs(1), sccs-remove(1), sccs-rename(1), sccs-rmdel(1), sccs-root(1), sccs-sact(1), sccs-sccsdiff(1), sccs-status(1), sccs-tell(1), sccs-unedit(1), sccs-unget(1), sccs-val(1), what(1), sccschangeset(5), sccsfile(5).

πŸ’€ BUGS πŸ’€

None currently known. (iconic, honestly ✨)

Mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues.

The mailing list archive may be found at:

https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de.

πŸ’œ AUTHOR πŸ’œ

sccs istext was originally written by Joerg Schilling in 2011 and is now maintained by the schilytools project authors. We stan 🫢

⭐ SOURCE DOWNLOAD ⭐

The source code for sccs is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at

https://codeberg.org/schilytools/schilytools.

The download directory is

https://codeberg.org/schilytools/schilytools/releases.

and that's the whole page, bestie πŸŽ€πŸ’–βœ¨ This lil beauty is brought to you by Joerg Schilling, dated 2022/10/06, and it's the sccs-istext(1) page β€” go forth and check if your files are text, no cap πŸ’…πŸ¦‹

πŸ“¦ where this page comes from