Community discussions

MikroTik App
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Processing delimiter in RouterOS

Fri Dec 20, 2013 5:54 am

Hi All,

How do I convert the uptime output from "1d21:20:49" to seconds?

Is there a command in RouterOS for processing delimiters? For example, these commands "cut -d:" and "awk -F':'" are used in Linux Shell script.

Thanks.
 
User avatar
c0d3rSh3ll
Long time Member
Long time Member
Posts: 557
Joined: Mon Jul 25, 2011 9:42 pm
Location: [admin@Chile] >

Re: Processing delimiter in RouterOS

Tue Jan 28, 2014 2:12 am

Use Pick command

Send from my mobile phone using Tapatalk.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Processing delimiter in RouterOS

Tue Jan 28, 2014 2:15 am

Solved! Thanks all.

A duplicate post in http://forum.mikrotik.com/viewtopic.php?f=9&t=80114