Search Results

Search: Posts Made By: endeavour1985
Forum: Programming 03-02-2005
4,230
Posted By endeavour1985
Why ""No mountable file system"
I tried to install OpenMotif under Mac OS in the computing lab today, but I got "No mountable file system". Is it because I don't have the administrator's privilege?
Forum: Programming 02-23-2005
4,932
Posted By endeavour1985
Where can I download OpenMotif for Solaris ?
The ones on Motif Zone are for MacOS, Linux and FreeBSD only.
1,381
Posted By endeavour1985
Can I use "==" instead?
In the following code:

awk '
BEGIN{
FS="\t"
OFS="\t"
printf("Enter a glossary term: ")
}


FILENAME=="glossary"{
entry[$1]=$2
next
}

$0 ~ /^(quit|[qQ]|exit|[Xx])$/ {exit}...
Forum: Programming 02-23-2005
2,616
Posted By endeavour1985
Yeah, I have, but never in the Unix environment.
Yeah, I have, but never in the Unix environment.
Forum: Programming 02-22-2005
2,616
Posted By endeavour1985
Do I need to install some packages to enable...
Do I need to install some packages to enable Motif?
Forum: Programming 02-22-2005
2,616
Posted By endeavour1985
I've never been able to execute a single sample...
I've never been able to execute a single sample program in the book on X programming.
Forum: Programming 02-22-2005
2,616
Posted By endeavour1985
Why my code couldn't be compiled
#include <Xm/Xm.h>
#include <Xm/PushB.h>

Widget CreatePushbutton(Widget parent,
char* name,
XtCallbackProc callback,
XtPointer client_data)
{
Widget push;
Arg args[20];
...
2,468
Posted By endeavour1985
OK, I know now, it must be written this way: ...
OK, I know now, it must be written this way:

BEGIN {FS=" "}
$2~/utah/{
print $2 ", " $1
}
2,468
Posted By endeavour1985
When I changed the second script into the...
When I changed the second script into the following:

BEGIN {FS=" "}
$2~/utah/
{
print $2 ", " $1
}

The output became:
2,468
Posted By endeavour1985
Why my second script doesn't work?
Why my second script doesn't work?
2,468
Posted By endeavour1985
What happened with AWK?
The second script seems not to work.
1,568
Posted By endeavour1985
What shell is the "man " for
I typed "man if" in both TC shell and Bash and I got the exactly same information.
What shell is the command "man" for , anyway?
4,347
Posted By endeavour1985
OK, thanks. I'm going to drop Tcsh and pick up...
OK, thanks.
I'm going to drop Tcsh and pick up Bash - so few materials on Tcsh, -:)
4,168
Posted By endeavour1985
I'm a little bit confused about ed. What's the...
I'm a little bit confused about ed. What's the use of ed since there are such more powerful editors like vim, emacs, etc.?
4,168
Posted By endeavour1985
Thanx. I know why now. If changes have...
Thanx. I know why now.

If changes have been made in the buffer since the last w
command that wrote the entire buffer, ed will warn the user
if an attempt is made to destroy...
4,168
Posted By endeavour1985
Question Marks in ed
I typed the following commands:

176 lab2-37:~> ed newb.txt
74
1,6p
Hello
Hello World.
I need some sentences to edit.

add the script
OK Fn
2,4c
.
1,3p
Hello
add the script
OK Fn
q
?
2,677
Posted By endeavour1985
I can only use cat to read this file.
I can only use cat to read this file.
2,677
Posted By endeavour1985
It seems that the file sed.txt can not be...
It seems that the file sed.txt can not be displayed in Emacs either:


User Commands SED(1)



NAME
sed - manual page for sed version 4.0.3
...
2,677
Posted By endeavour1985
Different Format in Unix & Windows
I used the following commands to store the discription of "sed" into a unix file:


man sed > sed.txt


But, after I download the file "sed.txt" to a Windows XP system, the file can not be...
3,497
Posted By endeavour1985
Thanx, it works.
Thanx, it works.
3,497
Posted By endeavour1985
Thanks, it works.
Thanks, it works.
3,497
Posted By endeavour1985
I changed a little bit about the first one,...
I changed a little bit about the first one, without any effect
255 lab2-36:~/try_direct/another> set x=1; set y=2; set z='expr $x+$y'
256 lab2-36:~/try_direct/another> echo $z
expr $x+$y
3,497
Posted By endeavour1985
The first one does not work: 254...
The first one does not work:
254 lab2-36:~/try_direct/another> x=1;y=2;z='expr $x + $y'
x=1: Command not found.
y=2: Command not found.
z=expr $x + $y: Command not found.
255...
3,497
Posted By endeavour1985
You've never used TC? Which shell is better, so...
You've never used TC? Which shell is better, so far as you are concerned?
8,979
Posted By endeavour1985
OK, I see. Thanx a million.
OK, I see. Thanx a million.
Showing results 1 to 25 of 32

 
All times are GMT -4. The time now is 11:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy