Need Help Badly: Newbie Here


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Need Help Badly: Newbie Here
# 15  
Old 09-17-2008
thanks vidyarhar85 it works great. Thanks alot.
can you please explain your im quite confuse
thanks alot
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Badly placed ()'s

Edit - I don't know how to delete posts. The question I asked here ended up not being the question I should have asked as I didn't realise I needed to edit my script to comply with SGE. Hi, My script is: #!/bin/bash # Perform fastqc on files in a specified directory. for ((j=1;... (8 Replies)
Discussion started by: una1992
8 Replies

2. Programming

Badly places ()'s on C

I dont know why this Linux would give me badly placed () error all the time for this; #include <stdio.h> int main() { register int num=0 ; while ((num < 5)) ++num; printf("Pass %d \n", num) ; return 0 ; } can anyone help me please? (11 Replies)
Discussion started by: sizzler786
11 Replies

3. Shell Programming and Scripting

Badly Placed ()'s when trying to use csh

The terminal is bash. Whenever I try to execute csh just by itself it gives Badly Placed ()'s. Whenever I try to use csh with a script it also gives Badly Placed ()'s. My script is this, there is nothing wrong with it, since it used by other students in class as well. (I have also asked... (5 Replies)
Discussion started by: quantumizer
5 Replies

4. Shell Programming and Scripting

Another case of Badly placed parens.

The shell error message "Badly placed ()'s" can occur for a surprisingly simple oversight. If the script begins with a shell-invocation comment, but is missing the exclamation-point, it is simply a comment and not an invocation. If you attempt to execute it from a shell other than the shell you... (4 Replies)
Discussion started by: Dickster
4 Replies

5. Shell Programming and Scripting

badly placed ()'s

i'm trying to run the following program but i keep getting the message "badly placed ()'s" can u help? #include "modularity_mat.h" #include "../sparse_mlpl/sparse_matrix.h" adj_matrix_arr* allocate_mem_for_matrix_arr (int y) { /* Create the adj matrix and allocate memory */ ... (2 Replies)
Discussion started by: ronirosner
2 Replies

6. Shell Programming and Scripting

Badly formed number.

I have the following script running every day numerous times a day and it works fine, but very occasionally I get the following error if: Badly formed number. Anyone know why? Here is the script that runs with the follow parms LCTMDBSE 100000 130000 160000 #!/bin/csh ... (0 Replies)
Discussion started by: Northerner
0 Replies

7. Shell Programming and Scripting

sed help needed badly

how can I delete one line above and below the matching pattern ? e.g I want to delete the line above and below the line with %CLI- in example below : $CHECKSUM $1$DGA1043:TSTST01.DBF;1 %CLI-E-OPENIN, error opening $1$DGA1043:TSTST01.DBF -RMS-E-FLK, file currently locked by another user ... (6 Replies)
Discussion started by: aliyesami
6 Replies

8. Shell Programming and Scripting

for:badly formed number

Hi, I am doing the following but it complains and says "for:badly formed number" does anyone know why? #!/bin/tcsh foreach(....) ............ set depth=64 set width=23 if ($depth==64) then echo "if" set addr_bits=5 else echo "else" endif echo "addr_bits:$addr_bits" echo... (3 Replies)
Discussion started by: ROOZ
3 Replies

9. Shell Programming and Scripting

Badly placed ()'s. - error

Hi, when I execute the below script, I am getting following error "Badly placed ()'s". can anyone please help me fix ---------------------------------------------------------- # Usage: ani -n -a -s -w -d # # # help_ani() To print help # help_ani() { echo "Usage: $0 -n -a -s -w -d"... (3 Replies)
Discussion started by: amitrajvarma
3 Replies

10. Shell Programming and Scripting

New to it all, But i wanna script really badly!!!

Ok, im brand new to this whole thing, well nearly, but all i wanna know and do is scripting, WHAT DO I DO?!:confused: (3 Replies)
Discussion started by: TheNewGuy
3 Replies
Login or Register to Ask a Question
LaCheck(1)						      General Commands Manual							LaCheck(1)

NAME
lacheck - A consistency checker for LaTeX documents. SYNOPSIS
lacheck filename [ .tex ] DESCRIPTION
LaCheck is a general purpose consistency checker for LaTeX documents. It reads a LaTeX document and displays warning messages, if it finds bad sequences. It should be noted, that the badness is very subjective. LaCheck is designed to help find common mistakes in LaTeX docu- ments, especially those made by beginners. The things checked are: Mismatched groups (braces), environments and math mode delimiters. When a mismatch is found, line numbers for both start and end of the mismatch is given. The error messages comes in pairs, one for the end match and one for the beginning, marked with `<-' and `->' respec- tively. Bad spacing including missing a ` ' after an abbreviation, missing an `@' before a punctuation mark in a paragraph that is ended by an capital letter, double spaces like ` ', bad usage of ellipsis (like using ... instead of ldots, or using ldots where cdots should be used), missing before a cite or ef commands, space before footnotes, italic corrections before comma, point, or italic text, italic correction after normal text, missing italic correction when switching from italic to normal text, and double italic correction. Badly placed punctuation marks around end of math mode delimiters. This is, punctuation placed right after display math end or punctuation placed right before text math end. Sequences of whitespace followed by punctuation marks are also caught. Bad use of quotation characters, i.e. constructs like "'word" or "word`" are warned about, tabs in verbatim environments are caught, cer- tain TeX primitives are frowned upon, attempts to give font specifiers arguments such as em{text} are noted, and use of @ in LaTeX macros are reported. LaCheck will read files that are input using input or include. Files with suffix `.sty' are omitted, as they probably will cause LaCheck to crash. LaCheck may be invoked from within Emacs(1) using compile: To run: M-x compile RET lacheck RET , and then C-x ` to parse the messages OUTPUT
The output is UNIX-error like, and may be parsed using Emacs(1) compile mode. Here is a sample: lacheck compiler "/usr/mef/compiler.tex", line 34: missing `\\ ' after "etc." "/usr/mef/compiler.tex", line 179: double space at " ~" "/usr/mef/compiler.tex", line 186: <- unmatched "}" "/usr/mef/compiler.tex", line 181: -> unmatched "$$" A control space ` ' should be inserted at line 34, to prevent an end-of-sentence space. Also, at line 179, the first space of the sequence " ~" should probably be deleted. The last two lines is an example, where the user mistyped, and probably inserted an extra "}" somewhere. DIAGNOSTICS
Some special cases should be explained. In cases where a sentence ends with something that LaCheck thinks is an abbreviation an missing ` ' error may also occur, if the following sentence begins with a lowercase letter. A mismatch error may cause more to follow, due to the chosen algorithm. In such cases just correct the first error and run LaCheck again Braces, environments and math mode must be balanced within a file. LaCheck may be confused by unmatched stuff placed inside verbatim-like environments called something else than exactly `verbatim'. FILES
/usr/bin/lacheck SEE ALSO
tex(1), emacs(1), latex(1) BUGS
LaCheck gets confused by advanced macros, is fooled by simple macros, can't figure out if you use a non-standard way to switch italic on or off, does not like TeX at all, does not provide any options to turn off specific warnings, and is at best a crude approximation. Ideas for improvements and bug reports are very welcome. Such should be directed to the maintainers, their email address is <auc- tex_mgr@sunsite.auc.dk>. AUTHOR
Kresten Krab Thorup with modifications by Per Abrahamsen. Release 1.26 12/25/11 LaCheck(1)