03-13-2004
sh: syntax error at line 1: `>' unexpected
I compiled C program under SUN OS sparcv9 ...I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option ..-memalign=1i as I remmber ...after running the program I got the below error please let me KNow more details what should I Post for you to solve this issue
ERROR :
sh: syntax error at line 1: `>' unexpected
Note that this error coming while running (runtime) of the C program........in the C program I have unlink function to deal with a file under unix....
Thanks,
Omar Atia
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
#!/bin/sh
echo "Choose option: e, d, l, t, p, or x."
read option
if test $option = e
then
echo "Filename?"
read file
if test ! -f $file
then
echo "No such file"
else
echo "Yes its a file"
fi
... (4 Replies)
Discussion started by: hazy
4 Replies
2. Solaris
Hello...
I'm trying to run the sshd script, but I keep geting the Syntax errot message .
Here's the last few lines on the script. set nu in vi shows 58 lines, but I keep getting error referring to line 59. Any help is appreciated.
Thanks,
Remi
else
echo... (4 Replies)
Discussion started by: Remi
4 Replies
3. Shell Programming and Scripting
Hi,
I tried to execute the following code but it showed the output
mobile number : 35353425
corr plan id : 13-may-2008
corr target : 551
active_dt : 23414
no ident : IDD
action name: A
To get the subscriber number for the given mobile number and check if it is active and not... (1 Reply)
Discussion started by: geekforu
1 Replies
4. UNIX Desktop Questions & Answers
Hi All
I've used UNIX in the past experimenting with commands through terminal but thats about it. Im now currently teaching myself "C".
Using a book from the library, the first chapter asks you run and compile your program from a command-line prompt. As you will see the program is very simple,... (4 Replies)
Discussion started by: camzio
4 Replies
5. Shell Programming and Scripting
hi can anyone pls look into this....shell script...
Pls find the error below:
> sh -n tmp
tmp: syntax error at line 28: `(' unexpected
isql -Usa -S$1 -P`grep $1 dbpassword|cut -d ":" -f3` -w2000 -b<<!
set nocount on
declare @i int
declare @dbname char(6)
declare @tmp int
if... (10 Replies)
Discussion started by: rajashekar.y
10 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am having a shell script load_data.sh which calls /home/users/project/.profile. When am executing the script, am getting below error:
$sh -x bin/load_data.sh null
+ . /home/users/project/.profile
bin/load_data.sh: syntax error at line 8: `(' unexpected
The line which is throwing... (1 Reply)
Discussion started by: brijesh.dixit
1 Replies
7. Shell Programming and Scripting
Hi all,
I am very new to programming and even newer to this forum as well, so I apologize if this should have been in the Newbie category, but...
I am currently trying to figure out Shell Scripting and am running into problems early. Not having taken any kind of programming class, I am not even... (2 Replies)
Discussion started by: ccorder22
2 Replies
8. Shell Programming and Scripting
Masters, i iam writing a script (dont have much experience in the process of learning) which handles file copy to multiple servers and users for deployment purpose. Below is the snippet.
When ever i run i get syntax error but it works fine on another machine. Please help me out.
if
then... (10 Replies)
Discussion started by: ameyrk
10 Replies
9. Shell Programming and Scripting
Hi,
I am getting an wired error.... the script is running fine when i run it manually... but the same when i try to run in nohup mode, i am getting error
if
Error:
syntax error at line 24: `(' unexpected
The above if is the 24th line!!! I dont understand the error... (4 Replies)
Discussion started by: Nithz
4 Replies
10. Programming
Below query is not working for me. Please help me on this
DATA EXCLUDE STATEMENT: TABLE:\"LIKE \'%\_HISTORY\'\", TABLE:\"LIKE \'%\_HIST\'\", TABLE:\"in \(select tname from tab where REGEXP_LIKE(TNAME,\'\_H$\'\))\", TABLE:\"LIKE \'%\_LOG\'\", TABLE:\"LIKE \'DW\_%\'\", TABLE:\"LIKE... (1 Reply)
Discussion started by: princy
1 Replies
LEARN ABOUT DEBIAN
gpg-error-config
LIBGPG-ERROR(1) General Commands Manual LIBGPG-ERROR(1)
NAME
libgpg-error-config - script to get information about the installed version of libgpg-error
SYNOPSIS
libgpg-error-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]
DESCRIPTION
libgpg-error-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link
programs that use libgpg-error. It is also used internally to the .m4 macros for GNU autoconf that are included with libgpg-error.
OPTIONS
libgpg-error-config accepts the following options:
--version
Print the currently installed version of libgpg-error on the standard output.
--libs Print the linker flags that are necessary to link a libgpg-error program.
--cflags
Print the compiler flags that are necessary to compile a libgpg-error program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that libgpg-error was built with when computing the output for the
--cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be
specified before any --libs or --cflags options.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that libgpg-error was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
23 June 2003 LIBGPG-ERROR(1)