Mr Embarased here.
Found my solution by using the search feature. Stupidly the solution I found was from myself in June 07.
Age doesn't come itself.
Apologies for not using search first.
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
I have a file which has a format of:
start-tag,value,value,value,
,value,
,value,
,value
start-tag,value,value,value,
,value,
,value
start-tag,value,value,value,
start-tag,value,value,value,
,value
and I need all the lines associated with a start tag on the same line so that I get...
Now there is the command I need.
I'm running on Solaris, so the command needed to be split into 2 as sed doesn't like taking terminal input on this flavour of UNIX, but still thats the sort of slick 1 liners I like.
THANKS!
I love deadlines. I like the whooshing sound they make as they fly...
I have 3 files, a template file, one with old strings that exist in the template file and one with new string I want to replace the old strings with in the template file.
e.g. template
1,testold1,3,4
2,testold2,3,4
3,testold3,3,4
4,testold4,3,4
5,testold1,3,4
oldstrings
testold1
testold2...
I take it back, it is slow when you plug a laptop into the serial port too.
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
Dont know your skill level, but as a newbie I'm finding these useful:
http://www.adobe.com/cfusion/designcenter/search.cfm?product=Flash&go=Go&pss=fl_9.0.0_win_en_full__PF_20040226
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
When connecting through a terminal server to a T2000 (running SunOS 5.10) console port, the characters are displayed at teletype speeds (lucky if its a character a second).
I've had the TS port checked and it's 9600 baud, the /etc/ttydefs for console is 9600, /etc/remote is set to 9600...
First of all apologies for not responding to your suggestions earlier. Since posting we have seen several occasions where the TS re-configuration/setup is actually sending a break and leaving the system at the ok prompt. Although I haven't tried your suggestion (and don't know when I will be...
I've had this happen a couple of times now. We have a number if sunfire v490 servers that are racked and connected to a terminal server via the console port (the TS is not operational at the moment however). To configure the server I've removed the console cable and plugged in a serial cable...
It would appear that the systems have been 'hardened' and the only way to login to root was via another user and su from there. I spent some time trying to find someone who used the server previously to be able to get this information. I finally logged in and as suggested by Ken (and I would...
Hi,
Just reconfiguring a V240 after it was moved. I've connected a serial cable to the serial port on the back and brought the system up. System boots ok but when I try and login with the correct root password I get the "Not on system console" message displayed after typing in the password i.e...
It's just like the thing, you post for help, change the way you think about how your doing stuff and lo and behold it works.
The solution I have is:
# Get all non TAG lines
# Put them in the Hold space
# Delete from the pattern space
# Swap the hold and pattern space
# change the carriage...
I have a file where I need to join consecutive lines. The twist is that the number of lines to join together varies. An example file is:
TAG ,
Attribute1 ,
Attribute2 ,
Attribute3 ,
TAG ,
Attribute1 ,
TAG ,
Attribute1 ,
Attribute2 ,
Attribute3 ,
The TAG is consistent ( i.e. the same string)...
That does it!
You must be pretty damn good at lateral thinking puzzles as well!
Thanks and a star.
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
Hi PHV,
the following command still hangs the shell on the local machine.
rsh <remote host> exec "/sbin/init.d/appstart start"
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
PS I dont want to run the rsh command in the background (rsh <remote host> "/sbin/init.d/appstart start" &) on the local machine as it will leave two rsh processes running on the local machine.
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
...| grep -v grep | awk '{print $1}'`
if [ -n "$PID" ]
then
kill -TERM $PID
else
exit 0
fi
sleep 1
done
;;
*)
echo "usage: $0 {start|stop}"
;;
esac
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
Skip, Glenn thanks v much for your responses.
I've managed to have a little play and this is looking like what I need although I haven't had much time to play.
Just an update to say thanks and I hadn't meant to leave it so long before getting back to you.
Cheers
I love deadlines. I like the...
I have a workbook with some worksheets. I want a drop down on a separate/new worksheet that contains the worksheet names.
Based on this selection I then want another drop down on this new sheet to contain the data in the first row of thae sheet (the heading row) selected from drop down 1...
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.