Skip to content

brablc/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 22, 2024
6d26a62 · May 22, 2024

History

47 Commits
Jan 18, 2018
May 21, 2019
Nov 13, 2015
Jun 13, 2019
Jun 13, 2019
May 22, 2024
Nov 14, 2023
May 21, 2019
Jan 12, 2014
Oct 19, 2015
Jan 12, 2014
May 21, 2019
Nov 24, 2020
Feb 15, 2016
Aug 2, 2015
Aug 22, 2016
Jan 5, 2013
Apr 12, 2012
Apr 12, 2012
May 21, 2019
Sep 18, 2023
Aug 2, 2015
Sep 29, 2016
Aug 22, 2016
Nov 13, 2015
Apr 13, 2013
Jan 18, 2018
Aug 2, 2023

Repository files navigation

Command Line Interface Tools

plane - stands for perl with -lane switches.

 * Replaces awk - reads a file from standard input into @F variable.
   and allows easy filtering including regexp group matching.
 * Run without params to show numbers of fields in standard input.
 * You can access fields from end and grep using: 

     plane 'print @F[-1] if @F[0] =~ /^192.168.0.1/'

 * You can print multiple fields:

     plane 'print join("\t",@F[0..2,-1])'

csv2xlsx.py - convert CSV to XLSX

 * Requirements:

    sudo easy_install openpyxl

tzcovert - convert filter from Zulu to local time
    
     echo "2017-04-02T23:53:32.000Z" | tzconvert
     # returns: 2017-04-03T01:53:32

About

Command line interface tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published