How can I fina line if filed 1 eq a P
if I do a grep "P" I will get 3 I only want to get the 2 that start with a P
ie:
"P","123","abc345","678" < Get this one
"S","194","abc345","678" < don't get this one
"S","123","abc345","P" < don't get this one
"P","789","abc345","678" < Get...
How can I turn off FancyIndexing I don't want my directories browseable. There must be a .htm file or nothing should show.
Thanks
Brandt
I am on apache on SCO 5.07
I have a file with several fields. There is a field that has leading zeros, how can I get rid of them?
I am only showing 1 field below in sample.
Thanks in advance,
Brandt
ie:
"000000000501083"
"000000000546459"
"000000000006758"
"000000000314515"
"000000000332358"
"000000000082485"...
I have a standard ascii comma, quoted file. I need to add todays date to the end of the record.
This will run in a script and run daily... So the date will be a variable.
ie:
"aaaaaaa","bbbbb","cccccc","ddddd" < Now
"aaaaaaa","bbbbb","cccccc","ddddd","20041207" < Needs
Thanks
Brandt
I have ascii reports that are generated from our telephone system. At a specified time the reports are sent out a RS232 serial port. I need to have my com1 port on my SCO box receive te data and save it to a file.
How can I open the com1 port? Does anyone have a script. I would prefer not to...
I have a large file 180,000 records in it. I need to take the first field whatever it is and change it to a -1 AND KEEP the record length to 304 bytes.
The first field could contain several different lengths ie:
10
5
-24
100
-250
Any ideas?
Thanks in advance
Brandt
PMP
I have several machines that I have been using all the "r" commands, rlogin rcmd.. ect.
One of my machines stopped accepting rlogin it now requires a password.
I have check my /.rhosts all OK perms 600 /etc/hosts is ok
Any ideas on what would require a password?
Thanks
Brandt
Practice...
I have a file with multiple fields that have the same info.
How can I get a count of UNIQUE strings.
Thanks
ttyp7
ttyp2
ttyp0
ttyp0 < Only count this 1 time
ttyp1 < Only count this 1 time
ttyp1
ttyp1
ttyp23
ttyp20
ttyp23 < Only count this 1 time
ttyp23
ttyp20
ttyp29 < Only count this 1...
Why does the following end by its self.
I need to run zz every 5 seconds if there is any *.txt file . This falls out all the time. Any suggestions.
The shell script is named import. I invoke it with ./import &
If there is another way I'm game!!
Thanks
Brandt
#pg import
while true
do
if [ -f...
drwxrwsrwx 6 user informix 512 Nov 03 2003 aa
drwxrwsrwx 7 user informix 512 Dec 01 2003 bb
drwxrwsrwx 8 user informix 512 Jan 12 2004 cc
drw-rwSrw- 2 user informix 512 Jul 05 05:00 dd
drw-rwSrw- 2 user informix 512 Jul 12 05:00 ee
drw-rwSrw- 2 user informix 512 Jul 19 05:00 ff...
I have a printer setup on a DigiPort 4 port Server. It is setup on port 4. I have many printers on this box (> 100). None on this port server. I can ping PortServer no problem.
When I send a print job to this printer I get.
"waiting for queue to be enabled on 32_ps1-Q" in the status file...
While installing SAMBA on:
SCO System = SCO_SV
Node = pmg02
Release = 3.2v5.0.7
I get the following. Any thoughts?
dynamic linker: /usr/lib/samba/bin/make_unicodemap: relocation error: symbol not found: sys_errlist
/opt/K/SCO/Samba/2.2.6c/cntl/packages/Samba/ccs: 11988 Killed
Thanks
Chomps
SWAT Works fine but when I attempt to do a find I get not found. Any one got an answer?
SCO 5.7 unix
[2004/07/02 12:53:13, 0] smbd/server.c:main(707)
smbd version 2.2.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/07/02 12:53:13, 0]...
How can I parse out a line like this?
[Tab][Space][Space] data data data [tab] data data
I can have any number of tabs and or spaces in the beginning of the line the line may contain tabs or spaces
AFTER the data is started. I just need to LEFT justify the the line.
ie: data data data [tab]...
I have read and done what was suggested here on correcting this problem but stil
l no go.
Please help!!!!!
Did you set up relaying for localhost in your access file ?
If not here is how you do it:
Edit the access file in /etc/mail or in /etc (depending on your distro). Add the
following to...
In the following what does the "Relaying Denied" mean and how do I fix it?
----- Transcript of session follows -----
... while talking to stimpy.1hca.com:
>>> RCPT To:<4108681020@mobile.mycingular.com>
<<< 550 <4108681020@mobile.mycingular.com>... Relaying Denied
Thanks
Brandt
I have to replace the last line of my .profile file with new line and what was origionaly there.
example:
Here is what I have now:
PATH=$PATH:$HOME/bin:/usr3/:/usr/blast:/usr/wp51/wpbin #set command search path
exec /usr/local/bin/mmm
(EOF):
Here is what I want to end with...
Our mail server has stopped forwarding email today. I have no Idea why. This is killing us, we forward mail to procmail for virus detection. If anyone has any idea that would be great.
System = SCO_SV
Node = stimpy
Release = 3.2v5.0.2
KernelID = 96/01/23
Thanks
Brandt
PMP
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.