10-23-2002
Take a look at the man pages for printf() and scanf().
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Sir;
i want to know how the binary data convert to text file or readablw format (ASCII).If possible pl. help me for the software and where it is available for download. i.e. (1 Reply)
Discussion started by: auro123
1 Replies
2. UNIX for Dummies Questions & Answers
All,
I want to convert multiple \0 005 characters to line feed 012 character
in a binary file to make to readable. Here is the sample od -c file
output:
0000000 254 355 \0 005 s r \0 * c o m . c i s c
Here is the sample od -b file output:
0000000 254 355 000... (0 Replies)
Discussion started by: bubba112557
0 Replies
3. Programming
Hi All,
Please suggest me how to read a binary file in text or ASCII format.
thanks
Nagendra (3 Replies)
Discussion started by: Nagendra
3 Replies
4. Programming
Is/are there any function(s) in C that convert(s) character/ASCII/Decimal to binary and vice versa?
what about bcopy and strcpy? (1 Reply)
Discussion started by: Peevish
1 Replies
5. Shell Programming and Scripting
Hello folks,
i have a binary text file but i am not able to convert into text format, please suggest.
thanks. (2 Replies)
Discussion started by: learnbash
2 Replies
6. Shell Programming and Scripting
Hi,
I have got a library file, created by compiling C code. The file information with "file" command, gives it a "application/x-archive" type file. I want to extract the release string of my software from this file, so that i can know which version of C files were used to create the lib.
Can... (3 Replies)
Discussion started by: atulmt
3 Replies
7. Shell Programming and Scripting
Input file (each line is separaed by spaces )given below:
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- -----... (18 Replies)
Discussion started by: sreenath1037
18 Replies
8. Solaris
Why would a binary which was compiled on a Solaris-10 not be runnable in a SunOS 5.10? (they are supposed to be precisely equivalent).
When I run the file command on it, it says:
ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available... (10 Replies)
Discussion started by: steve701
10 Replies
9. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
10. Shell Programming and Scripting
Hi Guys,
Is it possible to convert the hexadecimal to Binary by unix command.....I could not figure out....
If I need to convert AF6D to binary...what could be the way to do?
Thanks in advance!!
---------- Post updated at 02:57 AM ---------- Previous update was at 02:42 AM ----------
I... (6 Replies)
Discussion started by: Indra2011
6 Replies
SCANF(3P) POSIX Programmer's Manual SCANF(3P)
PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond-
ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
scanf -- convert formatted input
SYNOPSIS
#include <stdio.h>
int scanf(const char *restrict format, ...);
DESCRIPTION
Refer to fscanf().
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2013 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, Copyright (C) 2013 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Stan-
dard is the referee document. The original Standard can be obtained online at http://www.unix.org/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source
files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
IEEE
/The Open Group 2013 SCANF(3P)