04-22-2004
I've copied/pasted your code on a RH9-box and it worked fine.
Try adding an extra linefeed to the end of the file though, I've seen this before.
Hope it helps !
Bart.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm getting an error - symbol referencing errors. No output written to, etc
Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies
2. Solaris
Both of these messages are filling up the /var/adm/messages files on these two Sun boxes, goober and gomer. The print server is called gold.
Jul 31 03:15:40 gold bsd-gw: request to ma28084.Solaris (unknown printer) from goober
Jul 31 03:16:39 gold bsd-gw: request to ma28084.Solaris (unknown... (1 Reply)
Discussion started by: antalexi
1 Replies
3. UNIX for Advanced & Expert Users
I get this error message as soon as i log in
-bash: /usr/local/software/.../vni/CTT6.0/ctt/bin/lopt64.sh: No such file or directory
I looked into the etc/profile but there are no lines sourcing this file.
And there is no lopt64.sh in the directory vni/.../bin
I couldn't fogure out what... (4 Replies)
Discussion started by: dsmv
4 Replies
4. UNIX for Dummies Questions & Answers
Question for unix programmers - what function I need to used to get the exact error message when the library failed to load?
Thanks (1 Reply)
Discussion started by: tttttt
1 Replies
5. Shell Programming and Scripting
I am new to scripting.
I am using the following script . BART.dat contains the string 'Y' .
#!/bin/ksh
cd /work/TCI/data_out
file=`cat BART.dat`
echo "$file"
if ; then
echo "true"
fi
When i am executing the above script i am getting the following error
./s.ksh: : not found
... (2 Replies)
Discussion started by: ammu
2 Replies
6. UNIX for Dummies Questions & Answers
I keep getting an error message in a script im writing, this line is allways pointed out.
if
and this is the message i keep getting.
line 32: [: 8: unary operator expected
Whats wrong with it?
Please Help. (5 Replies)
Discussion started by: chapmana
5 Replies
7. UNIX for Dummies Questions & Answers
Hi I found the following error message in my logs:
warning: /etc/hosts.deny, line 6: can't verify hostname: getaddrinfo(localhost) didn't return ::ffff:222.255.28.33
What is the error message trying to indicate? That there is a problem with line 6 (2 Replies)
Discussion started by: mojoman
2 Replies
8. UNIX for Dummies Questions & Answers
I am getting a error message when I try to assign this? Can someone help I am new to unix?
$ First-name=james
ksh:First-Name=james not found (1 Reply)
Discussion started by: vthokiefan
1 Replies
9. Shell Programming and Scripting
#!/usr/bin/perl
$FL="ch.txt";
$CFL="mytext.txt";
print "This script will rename textfiles.";
mv $FL $CFL;
print "Done.";
perl file.pl
Error:
Can't locate object method "mv" via package "ch.txt" (perhaps you forgot to load "ch.txt"?) at file.pl line 7. (5 Replies)
Discussion started by: cola
5 Replies
10. Emergency UNIX and Linux Support
hi im new for unix, when i try to rename the file im getting error
$ mv -9file.jpg 9file.jpg
error is
mv: invalid option --"9"
Try 'mv --help' for more information. (10 Replies)
Discussion started by: gwgreen1
10 Replies
LEARN ABOUT DEBIAN
wxpaste
wxpaste(1x) wxpaste(1x)
NAME
wxpaste - output a cutbuffer to stdout
SYNOPSIS
wxpaste [options]
DESCRIPTION
wxpaste outputs the contents of the specified cutbuffer to stdout. If no cutbuffer is specified, the cutbuffer 0 will be used as default.
OPTIONS
-cutbuffer number
The data will be pasted from the specified cutbuffer, instead of the default 0.
-display display-name
Specifies the display where wxpaste should look for the data to be pasted.
-selection [selection-name]
The data will be copied from the named selection. If cutting from the selection fails, the cutbuffer will be used. The default value
for the selection name is PRIMARY.
BUGS
The -selection option must be the last one. The syntax could be
cleaned, but backwards compatibility prevents that...
INCR and MULTIPLE selection types are not handled. Actually, only simple text selections are handled, wich should be enough for most
uses of a utility such as this.
SEE ALSO
wxcopy(1x), wmaker(1x)
AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>.
March 1998 wxpaste(1x)