Search Results

Search: Posts Made By: Gerry405
Forum: BSD 12-09-2005
4,181
Posted By Gerry405
Thanks, I would try that but the only option is...
Thanks, I would try that but the only option is to ftp these files, as the Data General Box has a DLT but my home server running freebsd does not have this type of drive
Forum: BSD 12-09-2005
4,181
Posted By Gerry405
paths and permissions
I checked for bin/sh and it's there and the paths are also there, so it's really strange...I also checked permissions on the folders and contents and whether or not executable...they all appear to be...
Forum: BSD 12-08-2005
4,181
Posted By Gerry405
bsd-sh
thanks, I'll check and get back to you
Forum: BSD 12-08-2005
3,816
Posted By Gerry405
posts
thanks guys, the trouble is that you's have spoiled me with always giving timely responses to previous posts, and so I was thinking that I should have posted in a different group...ie -general...
Forum: BSD 12-06-2005
3,816
Posted By Gerry405
Answering posts
Hi Guys...(if anyone is out there), do these specialist posts ever get answered and do we just have to bide our time and be patient, or whats the deal
2,668
Posted By Gerry405
O S flavours ...which is which
Does anyone know how to find out what flavour of Unix "Data General" is closest too.. heres what I need to do, I need to install one of the available free flavours on my Intel Pc at home, So as I can...
Forum: BSD 12-02-2005
4,181
Posted By Gerry405
trouble executing and running on BSD from DG
Hi,

I recently installed FreeBSD 6.0, and am now trying to run my newly created sh scripts, that I ftp'd over from my works Data General - Unix server, I thought they would at least sumwhat/part...
3,290
Posted By Gerry405
help with Awk or nawk
Can anyone explain to me why the first line doesn't work and the second seems to work fine. I am trying to find all occurances of text within a certain column (col 13) that start with the character...
26,817
Posted By Gerry405
awk last characters
Thanks, I tried both the:...

nawk '{print substr($0, length($0)-1)}' text.file

and also the

sed 's/^.*\(..\)$/\1/' text.file

and both these work...
26,817
Posted By Gerry405
awk filtering the last two characters at end of line
thanks for that I'll give it a try in the morning when I get to work...
26,817
Posted By Gerry405
Awk- catching the last two chars
Can anyone explain to me how to get the last two chars' from each row of Column (each row being variable in length) using awk, some of the lines will be blank, I'll be running a paste after awking....
3,331
Posted By Gerry405
matching strings
Thanks for that, it works a treat!
9,327
Posted By Gerry405
end of line chars
thanks for that, I tried it this morning and it's just the job...many thanks to all....
9,327
Posted By Gerry405
stripping out end of line chars
Are there no other ways to do this besides installing a program, I need something as well at the Unix end shell script wise
9,599
Posted By Gerry405
I just have these # ls -lt /usr/bin/*sh* ...
I just have these

# ls -lt /usr/bin/*sh*
-rwxrwxrwx 1 root other 271 Nov 30 2001 /usr/bin/shtty
lrwxrwxrwx 1 root other 5 Oct 19 1999 /usr/bin/rsh -> remsh...
9,599
Posted By Gerry405
Thanks, I tried the below code in bash,...
Thanks,


I tried the below code in bash, perhaps I don't have bash on my system as I get the following error now

# ls -lt Iptestger WAITING
-rwx------ 1 root other 2118 Oct 31...
9,599
Posted By Gerry405
Hi, Sorry to take so long to get back to...
Hi,

Sorry to take so long to get back to you, I am finally getting round to implementing the code as you suggested, but right off the bat I get the following message

UX:sh (./Iptestger):...
5,427
Posted By Gerry405
trouble with passing variables from script to script
I have tried this as suggested, but it does not work for me, below is what I thought would work, but it does not even stop at the sleep 3000 part, I know it is because of the ftp part but don't know...
9,776
Posted By Gerry405
Thanks for that, it now works with the sample...
Thanks for that, it now works with the sample file posted, I had a space between the "BASE" and "="

the real gerry.txt has blanks lines in it and thats where it falls over now
9,776
Posted By Gerry405
Apologies...humbly using the data posted...
Apologies...humbly

using the data posted I get the following output

UX:ksh: ERROR: BASE: not found
Dec 07 05 is older
Oct 14 05 is older
Dec 09 05 is older
Nov 11 05 is older
Oct 05 05...
9,776
Posted By Gerry405
almost
Perderabo...thanks for that it seems to run a lot quicker now
also some of the lines in the file are blank, don't know if that would be relevant or not, but I need to keep these there untouched
...
9,776
Posted By Gerry405
tried that and same errors again Oct is...
tried that and same errors again

Oct is older
UX:touch: ERROR: Bad date conversion
Oct is older
UX:touch: ERROR: Bad date conversion
Oct is older
UX:touch: ERROR: Bad date conversion...
9,776
Posted By Gerry405
....tried #! /bin/bash and it puts out a not...
....tried #! /bin/bash and it puts out a not found

Sorry Guys , so I 've changed the heading to

#! /bin/Ksh

now I get the following errors

UX:touch: ERROR: Bad date conversion
is older...
9,776
Posted By Gerry405
dates
Hi Again Vino,


Sorry to be a pain but I now get an error..
UX:sh (./DateVino): ERROR: Bad substitution

#! /bin/sh
# gerry.sh
# input 071205
# output Dec 07 2005
# Base date is Oct 19,...
9,776
Posted By Gerry405
dates
Hi thanks for those, but none of them seem to work on my flavour DataGeneral unix

monsanbu

From the first script I get lots of the following:
inputdate: bad number
inputdate: bad number...
Showing results 1 to 25 of 46

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