linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Add Mikrotik RouterOS script

Open truman369 opened this issue 3 years ago • 3 comments

Language name

Mikrotik RouterOS Script

URL of example repository

https://github.com/eworm-de/routeros-scripts

URL of syntax highlighting grammar

https://github.com/Kentzo/MikrotikScript/blob/master/MikrotikScript.tmLanguage

Most popular extensions

.rsc

Detected language

.rsc extension is currently defined as Rascal, but RouterOS Script is more relevant.

truman369 avatar Jul 05 '21 17:07 truman369

https://github.com/eworm-de/routeros-scripts

Nothing in that repo has extension rsc

Nixinova avatar Jul 13 '21 23:07 Nixinova

Nothing in that repo has extension rsc

In this repo shebang line is used:

#!rsc by RouterOS

Here are example repositories with rsc extensions:

  • https://github.com/massimo-filippi/mikrotik
  • https://github.com/Lillecarl/ROS_Scripts
  • https://github.com/Disassembler0/mikrotik-scripts

truman369 avatar Jul 14 '21 07:07 truman369

https://github.com/eworm-de/routeros-scripts

Nothing in that repo has extension rsc

The scripts are stored with the same name inside ROS configuration, having an extension there does not make sense. It was some time later that I realized having file extension in the repository would make sense. After all this is a grown project.

But I would have to do a kind of migration to fix this... Hesitated to do so till now.

eworm-de avatar Apr 24 '22 12:04 eworm-de