Audio (128) Datatype (18) Demo (65) Development (269) Document (70) Driver (20) Emulation (71) Game (626) Graphics (240) Library (24) Network (87) Office (24) Utility (336) Video (22)
Total files: 2000
Full index file Recent index file
Part of AROS World |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] Architecture: i386-aros; x86_64-aros
"sfputc" is a CLI implementation of fputc that can be used with scripts
which allows you to print or redirect a single character with an optional
repeat that you cant do with a regular "echo".
For example appending a file with a character zero can be done by
typing the following:-
sfputc 0 >>"file"
Operation example:-
echo "`sfputc 65 10`"
Operational example2:-
echo "`sfputc 48 10`"
NB: The character numbers correspond to the standard ASCII table and
the "echo" provides us with a line feed.
Alternative versions and the source of sfputc are available from here:-
https://os4depot.net/?function=showfile&file=utility/script/sfputc.lha
|