7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have some matlab code that sends the serial port elements of an array using matlab's fwrite function, e.g.:
fwrite(s, , 'uchar');
What would be a unix shell equivalent? E.g., after successfully accessing the port using instructions here:
Simple terminal serial port program for Linux/MacOSX... (3 Replies)
Discussion started by: darwin_886
3 Replies
2. Shell Programming and Scripting
Hi all
Does anyone know Java-Arrays.binarySearch function equivalent in awk
I tried like this but it's not correct one,it just returns array index if and only when searched value available in array, for some reason if searched value not found then I want to return upper nearest neighbour index.... (1 Reply)
Discussion started by: Akshay Hegde
1 Replies
3. Shell Programming and Scripting
Hello,
I need experts help in converting the below tcl function to korn shell function equivalent.
proc lsNetMaskToBits {mask} {
set dw ; # Top N bits set
set dw 0x ; # Make sure it's hexadecimal, else XOR fails.
puts "lsNetMaskToBits dw $dw"
set dw ; # Complement => low 32-N bits... (1 Reply)
Discussion started by: JackMelson
1 Replies
4. Shell Programming and Scripting
Is there an equivalent of perl's pack function in bash ?
Or in other words, how can I achieve the same thing in bash ?
Much appreciated. (1 Reply)
Discussion started by: NewDeb
1 Replies
5. Solaris
Hello,
I'm trying to build scilab 5.0.2 on a Solaris 9 Sparc
After more than one hour of compiling, this error msg appear, what could be the problem? if you need any more info i'm here.
Thanks for your help.
Error msg :... (0 Replies)
Discussion started by: wolfhurt
0 Replies
6. Programming
what is the equivalent function for wherey( ) ?? That is to return the current column position? (2 Replies)
Discussion started by: rockgal
2 Replies
7. Linux
ANy one knows equivalent function of which in Turbo C.
I want to Execute Certain loop until any key is pressed.
i.e while(!kbhit)
{
----------
----------
}
This code work fine in DOS but NOt in LINUX
i try to use but not getting the expected result
... (0 Replies)
Discussion started by: niravuchat
0 Replies
TEXIFY(1) General Commands Manual TEXIFY(1)
NAME
texify - format code for use with LaTeX
SYNOPSIS
texify<input-type> [OPTION]...
DESCRIPTION
texify translates source code written in any of several different languages to latex(1) source files. The purpose is to make source code
embedded in documents more readable, by providing syntax highliting.
OPTIONS
-i FILE
Read from FILE instead of standard input.
-o FILE
Write to FILE instead of standard output.
-l LENGTH
Limit line length to LENGTH.
-t LENGTH
Make a tab correspond to LENGTH spaces. Default is 6.
-num INTERVAL
Prefix output lines with the corresponding line number from the input, skipping INTERVAL lines between each time a prefix is added.
An interval of 1 will ensure that every line is prefixed.
-numsize exsize
Replace the TeX code used to set the size of the line numbers. The default is footnotesize.
INPUT TYPES
abel ABEL source code
ada Ada source code
asm Assembly code
axiom AXIOM code
B B source code
beta BETA source code
bison Bison source code
c C source code
c++ C++ source code
idl OMG/CORBA IDL source code
java Java source code
lex Lex source code
lisp LISP source code
logla LOGLA source code
matlab MATLAB script
ml ML source code
perl Perl source code
promela
Promela source code
python Python source code
scheme Scheme soruce code
sim SIMULA source code
sql SQL queries
ruby Ruby source code
vhdl VHDL description
This manual page was written for the Debian operating system because the original program does not have a manual page.
EXAMPLES
Say you want to format a Java source file. Just type:
texifyjava < input.java > output.tex
You can also format the output of some program without storing its output in a temporary file. If you want to format the output of a Post-
greSQL database dump, just type:
pg_dump foobar | texifysql > output.tex
AUTHOR
This manual page was written by Morten Hustveit <morten@debian.org>.
January 2003 TEXIFY(1)