Sponsored Content
Top Forums Shell Programming and Scripting eof unexpected while looking[...] Post 302608491 by ahamed101 on Saturday 17th of March 2012 04:11:08 PM
Old 03-17-2012
Which is your shell? I am not getting any errors though in bash!

Code:
[ahaebrah@ahaebrah-fc01 tmp]$ bash -x run
++ uname -r
++ grep -o '[0-9]\.[0-9]'
++ sed -e 's/\-.*//'
+ '[' '!' -f mozilla/security/coreconf/Linux3.2.mk ']'
++ pwd
++ pwd
++ grep -o '[0-9]\.[0-9]'
++ sed -e 's/\-.*//'
++ uname -r
+ ln -s /tmp/mozilla/security/coreconf/Linux2.6.mk /tmp/mozilla/security/coreconf/Linux3.2.mk

--ahamed
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar: write error: unexpected EOF

I am taring to disk and get this message: tar: write error: unexpected EOF This message is normally associated with tape devices, not disk. Here is the syntax: tar -cf <tarfilename> /dir Have you seen this message on disk tars? (4 Replies)
Discussion started by: jabe
4 Replies

2. Shell Programming and Scripting

Unexpected eof error

Hi, I am newbie and am just trying to connect to oracle from shell script ,,,but I am getting the following error ./prog.sh: line 20: syntax error: unexpected end of file The scripts is : #!/bin/bash O=$IFS; IFS=","; while read a b c d do echo $c ... (6 Replies)
Discussion started by: thana
6 Replies

3. UNIX for Advanced & Expert Users

unexpected EOF

I ran the following scripts and everytime i get the errot as follows Line 54: unexpected EOF while looking for matching ',' line 57 syntex error unexpected end of file#!/bin/ksh set -x BKUP_DIR=/u03/backups/abu/nightly_backup LOG_FILE=/u03/backups/abu/backup.log ORACLE_HOME=... (9 Replies)
Discussion started by: manna
9 Replies

4. UNIX for Advanced & Expert Users

tar:read error: unexpected EOF

I need archive data from some tar files. I use the command "tar xvf filename". For about half of the files I get the error message "tar:read error: unexpected EOF". The number of bytes extracted comes very close to the size of the tar file. An example: 972434779 Jan 10 01:01... (4 Replies)
Discussion started by: mikeruth
4 Replies

5. Shell Programming and Scripting

Unexpected EOF while looking for matching `"'

Hi everyone, I am trying to search for a string in a file that is partly made up of a variable. Here's the code: echo "parentCategory = $parentCategory" echo "parentCategoryFormatted = $parentCategoryFormatted" numUrlsFoundInParentCategory=`grep -c "<Topic r:id=\"Top\/World\/Français\/"... (2 Replies)
Discussion started by: BlueberryPickle
2 Replies

6. UNIX for Dummies Questions & Answers

unexpected EOF

hello everyone...im having this problem with unexpected EOF with line 85 which is..i cant see whats wrong with it..can any1 plz help me out. read -p "$p1 please enter the number of tries you wish to have:" lifeline function main() { guessnum=0 read -p "Please enter if its sinle player game... (1 Reply)
Discussion started by: Freakhan
1 Replies

7. Shell Programming and Scripting

Stuck with Unexpected EOF

Hi, i have a script as below. i'm using sun solaris 10. Script : #! /bin/sh load() { find /stage_area/loadfiles/telsims/test/ -type f -name "*$1" -print > /tmp/testfile.txt fc=`cat /tmp/testfile.txt | wc -l | sed 's/ //g'` if ; then echo " Files Not Avaliable" exit else... (12 Replies)
Discussion started by: apple2685
12 Replies

8. Shell Programming and Scripting

unexpected EOF : BASH

i'm writing a bash script that uploads a file to my server but it keeps saying unexpected EOF... i cannot see the problem with it, and it worked before i edited the script to work on my ipod touch as well. Here is the troublsome code... if ; then tar -czf "file(Mac).tar.gz" "/folder" >... (11 Replies)
Discussion started by: DuskFall
11 Replies

9. UNIX for Dummies Questions & Answers

Unexpected EOF in .profile

When opening a new window under Terminal, got that message: Last login: Sun Oct 30 10:35:12 on ttys000 -bash: /Users/MyName/.profile: line 47: syntax error: unexpected end of file I tried several clues like using BBedit or emacs to get rid of it, nothing does. Maybe shell commands cut or... (1 Reply)
Discussion started by: shub22
1 Replies

10. Shell Programming and Scripting

Unexpected EOF while looking for matching `"'

I have a piece of Linux script. It tells me some syntax error. I couldn't find it. Please help me to identify them. Thanks. The code looks like this: export ORACLE_SID=MYDB export SPW=`cat /opt/oracle/scripts/.sys_pw_$ORACLE_SID` export check_arch=`sqlplus -s << EOF / as sysdba... (7 Replies)
Discussion started by: duke0001
7 Replies
GOZILLA(1)						      General Commands Manual							GOZILLA(1)

NAME
gozilla - force mozilla to display specified source file. SYNOPSIS
gozilla [-b browser][-p][+no] file gozilla [-b browser][-p] -d name DESCRIPTION
Gozilla force mozilla to display specified source file as a hypertext. Gozilla can be used with other browsers like firefox and epiphany. In advance of using this command, you must execute gtags(1) and htags(1) at the root directory of the source tree to make tag files. Then you can execute gozilla at anywhere in the source tree. First form: You can specify source file and the line number optionally. Second form: You can specify definition name directly. Definition name must exist in 'GTAGS' tag file. Some browsers require you to load it before executing gozilla. Whether or not gozilla waits for exiting of browser depends on browser. OPTIONS
The following options are available: +no line number. It must be a line on which function definition or function reference is exist. If you execute htags(1) with -l option, you can specify any line. -b browser browser to use. By default, it is assumed mozilla. -d name print function. --help Show help. -p just print generated target URL. file path of source file or alias name. -q, --quiet Quiet mode. -v, --verbose Verbose mode. --version Show version number. FILES
'HTML/' hypertext of source tree. 'GTAGS/' tags file for function definitions. '$HOME/.gozillarc' alias file. Please read source code for the detail. ENVIRONMENT
GTAGSROOT The directory which is the root of source tree. GTAGSDBPATH The directory on which gtags database exist. This value is ignored when GTAGSROOT is not defined. BROWSER browser to use. By default, it is assumed mozilla. EXAMPLES
$ gtags $ htags $ global -x main main 82 ctags.c main(argc, argv) $ mozilla & $ gozilla +82 ctags.c $ firefox & $ gozilla -b firefox +82 ctags.c $ setenv BROWSER 'epiphany --new-tab' $ epiphany & $ gozilla +82 ctags.c DIAGNOSTICS
Gozilla exits with a non 0 value if an error occurred, 0 otherwise. SEE ALSO
global(1), gtags(1), htags(1), firefox(1), epiphany(1), mozilla(1). GNU GLOBAL source code tag system (http://www.gnu.org/software/global/). NOTES
Gozilla means 'Global for mozilla'. BUGS
Gozilla can treat not only source file but also normal file, directory, HTML file and even URL, because it is omnivorous. AUTHORS
Tama Communications Corporation. HISTORY
The gozilla command appeared in FreeBSD 2.2.2 but did not installed by default. GNU Project July 2006 GOZILLA(1)
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy