Search Results

Search: Posts Made By: Ypnos
13,269
Posted By Ypnos
Ah ok, problem solved. Turns out they...
Ah ok, problem solved.

Turns out they previously had it plugged into a PC (LPT1) and they expected to plug it directly into the network and expected it to work. However they forgot there would be...
13,269
Posted By Ypnos
Hello plus_marca I can ping the printer's IP...
Hello plus_marca

I can ping the printer's IP address, no problem. And here are the sam results:

-------------------------- Enabled ----- Accepting
Name --------- Type ---- To Print----- ...
13,269
Posted By Ypnos
HP-UX printer setup
Hi, not entirely sure if this should be here or IP networking for dummies...

I am trying to set up a new printer remotely (large office). The people at the other end have no problems printing to...
2,350
Posted By Ypnos
Hi RMT, thanks for getting back to me....
Hi RMT, thanks for getting back to me. Unfortuantely, the default script you mention doesn't exist in the /etc directory...
2,350
Posted By Ypnos
SCO - User log problem
Hi everyone! It's been a while since I posted here!

Here's my question - Every week I check various logs (disk usage, etc), but the problem I'm finding with the user logs, is that they only go...
2,134
Posted By Ypnos
You're the man oombera! :cool: :D
You're the man oombera! :cool: :D
2,134
Posted By Ypnos
Character selection script
Hi all

I have this bit of code:

mv horders.unx horders.txt

FILE=horders.txt
awk '
BEGIN{FS=","}
{
if ($1=="HEAD")
{
REF=$5;
print $0;
}
if ($1=="LINE")
{...
2,722
Posted By Ypnos
ignore that, fixed it :) thanks oombera
ignore that, fixed it :)

thanks oombera
2,722
Posted By Ypnos
Only the first file is renamed, Oombera... :(
Only the first file is renamed, Oombera... :(
2,722
Posted By Ypnos
Will this work?
I'm trying to check if files already exist in a directory. They have the same basename (exsyctr1), but 4 different extensions. If the files exist, then I make backups of them, then copy them from...
32,596
Posted By Ypnos
the number itself may not always be a specific...
the number itself may not always be a specific amount of characters, but it is limited to how many characters it can be, this is up me how many I allow it to be.

For what I'm trying to do (import...
32,596
Posted By Ypnos
Oh yea, there it goes! :) What about...
Oh yea, there it goes! :)

What about printing it in fixed length files? Meaning can I reserve, say, 10 specific spaces in the line to print this number?

I'm just learning here, btw :)
32,596
Posted By Ypnos
is it possible to modify the script to print the...
is it possible to modify the script to print the number at the end of lines begining with LINE, instead of at the start?
32,596
Posted By Ypnos
omg oombera!!! you completely and utterly ROCK!...
omg oombera!!! you completely and utterly ROCK! :D

Thank you thank you thank you!!!!
32,596
Posted By Ypnos
I sorted out that error, but it doesn't seem to...
I sorted out that error, but it doesn't seem to have written anything to the file :/
32,596
Posted By Ypnos
hmm... [project4] # ./import ...
hmm...

[project4] # ./import
head: cannot open text3: No such file or directory (error 2)


is it a problem that LINE is also a shell command?
32,596
Posted By Ypnos
Hello again :D Here's the deal, I have a...
Hello again :D

Here's the deal, I have a file and it is of the following format:

HEAD SOME DATA 123456789
LINE DATA DATA DATA
LINE DATA DATA DATA
LINE DATA DATA DATA
HEAD ...
25,201
Posted By Ypnos
thanks guys, it's a good start :)
thanks guys, it's a good start :)
25,201
Posted By Ypnos
Menu script
It's me again :)

I would like to create a script that will display a 'Main Menu' which will link to other scripts in the same directory. Is it possible to have a scrolling menu and pretty colours...
32,596
Posted By Ypnos
Quirky but amusing, oombera :) Quite...
Quirky but amusing, oombera :)

Quite enjoying it actually :D
32,596
Posted By Ypnos
Nope, ttc is just one of 150+ different names...
Nope, ttc is just one of 150+ different names there can be. Sometimes it's ttc, sometimes it's sky, mor, hai, and so on...

this is turning out to be the never ending script ;)
32,596
Posted By Ypnos
sDataPath=/u/ttc/data:/u/ttc/ptm:/u/ttc/pfx ...
sDataPath=/u/ttc/data:/u/ttc/ptm:/u/ttc/pfx
sTempPath=/u/ttc/data


Those are the lines that need changing... I tried what you said and now it doesn't seem to change the files at all... :/
32,596
Posted By Ypnos
aaight if I take the star out, so it looks...
aaight
if I take the star out, so it looks like:
sed -e 's=/u/.=/u/'$DIR'=g' < $FILE > TMP_00
then it no longer erases the rest of the line, however it also inserts the user defined directory...
32,596
Posted By Ypnos
ah ha!! it works a treat! (except for erasing the...
ah ha!! it works a treat! (except for erasing the rest of the line)

thank you loads, oombera and everyone else :)
32,596
Posted By Ypnos
lol! :D well it has worked for the most...
lol! :D

well it has worked for the most part! except for:
rm: TMP_00 non-existent
rm: TMP_00 non-existent
rm: TMP_00 non-existent
rm: TMP_00 non-existent
rm: TMP_00 non-existent
rm: TMP_00...
Showing results 1 to 25 of 42

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