The AROS Archives(anonymous IP: 216.73.216.176,396) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (120)
   o Datatype (16)
   o Demo (65)
   o Development (264)
   o Document (70)
   o Driver (20)
   o Emulation (71)
   o Game (605)
   o Graphics (238)
   o Library (23)
   o Network (74)
   o Office (23)
   o Utility (318)
   o Video (20)

Total files: 1927

Full index file
Recent index file

Part of Aros World Exec
 Readme for:  Utility » Shell » sfputc.lha

sfputc

Description: script implementation of fputc.
Download: sfputc.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 7kb
Version: 25-Sep-202
Date: 25 Sep 26
Author: Lorence Lombardo
Submitter: Lorence Lombardo
Email: lorylombus/gmail com
Homepage: http://geocities.ws/lorylomb/
Category: utility/shell
License: Freeware
Distribute: yes
FileID: 3439
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 1  (Current version)
1  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[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



Copyright © 2005 - 2026 The AROS Archives All Rights Reserved