Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Operating Systems > Unix
Register

Reply
 
LinkBack Thread Tools
Old 03.04.2006, 08:23   #16
Silence
 
Moonlight's Avatar
 
Join Date: 11 2004
Location: back to meta level
Posts: 3,926
Downloads: 1
Uploads: 0
Blog Entries: 3
Reputation: 202 | 3
Default Re: unix command needed. urgent

Varg, mojet, no proverit' ne mogu, sama ni v chem ne uverena
a 2oy task? etot xot' ponyatno chto xochet. v inete nashla posle path esho i .;%classpath%.;
a ono nujno?
Reply With Quote
Old 03.04.2006, 08:43   #17
dardanian
 
aeneas's Avatar
 
Join Date: 11 2005
Location: new troy
Posts: 175
Downloads: 8
Uploads: 0
Reputation: 9 | 0
Default Re: unix command needed. urgent

Quote:
Originally Posted by Moonlight
v comp labe bash, doma on win. eto teoreticheskie zadachi, na chto doljni otvtetit' bez pc-s, na bumage. experimentirovat', proverit' ne mojem.
hmmm... uh huh, promising... kinda mental experiments with linux shell
Reply With Quote
Old 03.04.2006, 09:46   #18
Silence
 
Moonlight's Avatar
 
Join Date: 11 2004
Location: back to meta level
Posts: 3,926
Downloads: 1
Uploads: 0
Blog Entries: 3
Reputation: 202 | 3
Default Re: unix command needed. urgent

aeneas, just an exam. will a more constructive comment fallow?

1uyu zadachu mojno ignore, uje pomogli
Reply With Quote
Old 03.04.2006, 11:03   #19
Шестой Лесничий
 
Varg's Avatar
 
Join Date: 08 2005
Location: Театр Теней
Age: 36
Posts: 2,657
Downloads: 1
Uploads: 0
Reputation: 65 | 3
Default Re: unix command needed. urgent

Quote:
Originally Posted by Moonlight
Varg, mojet, no proverit' ne mogu, sama ni v chem ne uverena
a 2oy task? etot xot' ponyatno chto xochet. v inete nashla posle path esho i .;%classpath%.;
a ono nujno?
Если не используешь никаких сторонних либов, то "." (т.е. точка, текущий каталог) достаточно в classpath, ессно предполагая что run.sh находится рядом с .class файлами (если у тебя неймспейсов нету, если есть то с соотв. структурой директорий надо поработать). Кстати рекомендую книжку Брюса Эккеля Thinking in Java, сцылка (free on his website):
http://www.pythoncriticalmass.com/

т.е. то что я предложил, сделать так:
---run.sh---
rm -f *.class
javac capitalize.java
java -cp . capitalize < $1 > $2
---run.sh---
Reply With Quote
Old 03.04.2006, 21:00   #20
Silence
 
Moonlight's Avatar
 
Join Date: 11 2004
Location: back to meta level
Posts: 3,926
Downloads: 1
Uploads: 0
Blog Entries: 3
Reputation: 202 | 3
Default Re: unix command needed. urgent

vsem spasibo za pomosh, podderjku! vrode sdali
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 14:10.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.