Skip to content

Use LANG=C to avoid false error due to language #37

@Marzal

Description

@Marzal

Some commands could result in empty string when grepping in non-English systems. Like:

netstat -tuln
Conexiones activas de Internet (solo servidores)
Proto  Recib Enviad Dirección local         Dirección remota       Estado      
tcp        0      0 127.0.0.1:3493          0.0.0.0:*              ESCUCHAR

I've tested adding LANG=C at the start of the script and works better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions