IO.putChar(3kaya) Kaya module reference IO.putChar(3kaya)NAME
IO::putChar - Write a character to a file.
SYNOPSIS
Void putChar( File handle, Char c )
ARGUMENTS
handle A writable file handle
c The byte to write
DESCRIPTION
Write a binary character to a file. Char(200) will write a byte with a value of 200, not the multibyte representation of Char(200) in
UTF-8. Writing a character with a value greater than 256 is undefined.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free Software Foundation.
RELATED IO.getChar(3kaya)IO.put(3kaya)IO.putInt(3kaya)IO.putStr(3kaya)Kaya October 2012 IO.putChar(3kaya)
hello,
I am writing a small program in C to print character č on a file. I was using its ascii code 232 but the sentence printf ("Char %c \n",232) is printing "Char è".
Can anybody help me?!!!???
thanks
For your info, the UNIX system is SUN 5.8, the locale definition is
$ locale
LANG=... (1 Reply)
Hi,
I have a Variable Char field coming whose value looks like below
562432569856
I need to extract 2 characters from it till the end and put it elsewhere
say
56
24
32
56
98
56
in this case.
Any input is appreciated. (2 Replies)
I need to grep out usernames with UID's greater than 200 out of the /etc/passwd file for a server migration. It is the third field however I am not sure to to accomplish this. I tried to search the forums but did not seem to find an answer (might have over looked it). Any help would be... (2 Replies)
I wanted to Replace if 20th Char is space then Replace by X ..
12345678901234567890
AAAA HEXW PROGRM01 (Ended by 3 Spaces ) Followed by junk(can be spaces als)
BBBB HEXW PROGRM01 A0121225001 (Ended by 3 Spaces)Followed by junk
I have Tired some thing of this sort ...
cat... (4 Replies)
I have tried to show the file name whose size is greater than 200 byte in current directory.
Please help me.
ls -l | tr -s " " " " | cut -f 5,9 -d " " >out.txt
#set -a x `cat out.txt`
i=0
`cat out.txt` | while
do
read x
echo $x
#re=200
j=0
if }" < "200" ]
then
echo $j
j=`expr $j... (2 Replies)
I'm new to UNIX and have got some of the basics down, but I've got a puzzle I'm having difficulty working out. :confused:
Scenario:
Have FILE_A.JPG in DIR_A
Need to copy FILE_A 200 times and rename it 200 different names. List of 200 names in NAME_FILE.TXT
After renaming 200 files,... (4 Replies)
Sorry noob here......
I have 2 files like this:
File A
8080000001 400
8080000002 300
8080000003 200
File B
8080000001 600
8080000002 200
8080000004 200
I want one file where
File OUT
8080000001 1000 (6 Replies)
I have a file, I need to remove the first character of each line, but only if it's a comma. I don't want to delete any other commas in each line.
Trying cat or sed but I really don't know them very well, would love some help.
This removes the first comma, but it removes the first comma no... (6 Replies)