Return character after sed
Return character after sed
- Subject: Return character after sed
- From: <email@hidden>
- Date: Sat, 24 Feb 2007 14:04:54 +0100
- Thread-topic: Return character after sed
Hi
I have i line to get the time part from the boottime command. It works fine but I get a return or new line character at the end. Why do I get this end character, and how can I get rid of it?
Here is my line:
do shell script "/usr/sbin/sysctl kern.boottime | cut -c 28-35 | sed s/:/./g"
Thanks
Gunno I
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden