OS4 DepotLogo by DBAlex 
(anonymous IP: 10.1.161.163,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (347)
   o Datatype (51)
   o Demo (204)
   o Development (611)
   o Document (24)
   o Driver (98)
   o Emulation (154)
   o Game (1033)
   o Graphics (513)
   o Library (119)
   o Network (237)
   o Office (67)
   o Utility (945)
   o Video (73)

Total files: 4476

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Script » sfputc.lha

sfputc

Description: script implemetation of fputc
Download: sfputc.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 12kb
Version: 21feb2023
Date: 28 Jan 26
Author: Lorence Lombardo
Submitter: Lorence Lombardo
Email: lorylombus/gmail com
Homepage: http://geocities.ws/lorylomb/
Category: utility/script
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 13665
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Version:  21-Feb-2023
Architecture: m68k-amigaos; ppc-amigaos; ppc-morphos

"sfputc" is a CLI implemetation 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.

     Compiles for OS4 and MOS done in 2026.


"sfputc.e", "sfputc13a.e", "sfputc13.e" and "sfputc13c.c" are provided
for you to do as you wish.


Copyright (c) 2004-2026 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment