Sponsored Content
Top Forums UNIX for Dummies Questions & Answers diff on c-source file always returns "files differ" Post 302087371 by C-Prog-Man on Thursday 31st of August 2006 09:56:39 AM
Old 08-31-2006
$ file main.c
main.c: ascii text


I'll look into the invisible garbage.
 

10 More Discussions You Might Find Interesting

1. Programming

pthread_create returns "operation not permitted" if I try to link static?

Hello, I am trying to port some testtools we wrote from solaris to redhat linux(AMD64). If I link dynamic, set the correct LD_LIBRARY_PATH, everything runs fine. If I try to link static, the pthread_create returns "operation not permitted" (error code 1). Does anybody have an idea where to... (1 Reply)
Discussion started by: Micky
1 Replies

2. UNIX for Dummies Questions & Answers

Maximum input file size in "Diff" Command

Hello, Can anyone let me know what is the maximum file size that can be given as input for the "Diff" Command in Unix? I have a file size as large as 28MB and which can also increase. Will I face any issues with such a file size. If yes, What is the other alternative. Thanks in advance for... (1 Reply)
Discussion started by: Neeraja
1 Replies

3. UNIX for Dummies Questions & Answers

how to install "source" command!/ broken "login.cl"!

Hello, I am new to this forums and this is my first "asking help" message! i have 2 problems: 1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory! 2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies

4. Programming

could not open source file "sys/elf_386.h"

Hello All, i am porting my application from SunSolaris to Linux (RHEL4). When i compile my c/c++ code i am getting the following errors. 1. catastrophic error: could not open source file "sys/elf_386.h" #include <sys/elf_386.h> 2. catastrophic error: could not open source file... (2 Replies)
Discussion started by: tsaravanan
2 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Solaris

Checking RAID health, metastat returns "no database"

Hello, I am supposed to check the RAID health of a system but when I type metastat it says "there are no existing databases" Does this mean that there is no RAID configured at all? Is there any other utility I should try? I know the system has two disks. Tanks! (8 Replies)
Discussion started by: cevspencer
8 Replies

7. Shell Programming and Scripting

Source command returns error when it strikes conditional statement "ifeq"

Hello All, I am running source command on my project configuration file app.cfg which has conditional statements with make file systax E.g ifeq ($(APP_CMP_DIR),trunk). When I source this file it throws error: syntax error near unexpected token... (1 Reply)
Discussion started by: anand.shah
1 Replies

8. Shell Programming and Scripting

Help with selecting files from "diff" output

I have two directories Dir_A and Dir_A_Arc. Need help with a shell script. The shell script needs to take the path to these two directories as parameters $1 and $2. The script needs to check if any files exist in these directories and if either of the directories are empty then exit... (5 Replies)
Discussion started by: gaurav99
5 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
S2CI(1) 						      General Commands Manual							   S2CI(1)

NAME
s2ci - Scheme interpreter SYNTAX
s2ci [ option ] DESCRIPTION
The s2ci command (previously known as sci) invokes a Scheme interpreter. The language accepted by this interpreter is that defined in the essential portions of the Revised4 Report on the Algorithmic Language Scheme, with minor constraints and some additions. The Scheme inter- preter is written in Scheme which has then been compiled using the Scheme-to-C compiler, s2cc. OPTIONS
These options are accepted by s2ci. -e Echo text read from the standard input file on the standard output file. -emacs Scheme interpreter is controlled by GNU emacs. -nh Do not print the interpreter version header on the standard output file. -np Do not prompt for input from the standard input file on the standard output file. -q Do not print the result of each expression evaluation. -scgc statflag Enables garbage collection statistics. If set to 1, then garbage collection statistics will be printed. The default is 0, that will result in no statistics. -sch heap Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB. -scl percent Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%. -scm main Specifies the function that should be used instead of the predefined "main". The function name must be entered in the cor- rect case, i.e. letters typically upshifted. -scmh heap Specifies the maximum heap size in megabytes. The default is five times the initial size of the heap. ENVIRONMENT VARIABLES
The items controlled by -sc.. flags can also be controlled by environment variables. If both the flag and the environment variable are provided, then the flag's value will be used. SCGCINFO Controls the reporting of garbage collection statistics to the standard error file. If set to 1, then garbage collection statistics will be printed. The default setting is 0 that will not print the statistics. SCHEAP Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB. SCLIMIT Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%. SCMAXHEAP Specifies the maximum size of the heap in megabytes. The default value is five times the initial heap size. FILES
The interpreter is one a.out file with the name s2ci. All files associated with the interpreter are found in the directory .../scheme- toc/scrt. SEE ALSO
Harold Abelson and Gerald Jay Sussman with Julie Sussman, Structure and Interpretation of Computer Programs, The MIT Press. William Clinger and Jonathan Rees (Editors), Revised4 Report on the Algorithmic Language Scheme, LISP Pointers, Volume IV, Number 3, July- September 1991. PostScript for this report is included in the software distribution. Jerry D. Smith, An Introduction to Scheme, Prentice Hall, Inc. Chapter notes for using this text with Scheme->C are included in the soft- ware distribution. R. Kent Dybvig, The SCHEME Programming Language, Prentice Hall, Inc. Daniel P. Friedman and Matthias Felleisen, The Little LISPer, MIT Press. Joel F. Bartlett, Scheme->C a Portable Scheme-to-C Compiler, WRL Research Report 89/1. Additional documentation is included in the software distribution. s2cc(1) QUESTIONS, COMMENTS, AND COMPLAINTS http://alioth.debian.org/projects/scheme2c/ local S2CI(1)
All times are GMT -4. The time now is 11:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy