cut

  1. F

    Solved How do I use the command “cut” to select the 2nd field in a string variable?

    I'm using FreeBSD version: 11.3-RELEASE-p14, Shell version: tcsh 6.20.00 (Astron) 2016-11-24 (x86_64-amd-FreeBSD) options wide, nls, dl,al, kan, sm, rh, color, filec and trying to use cut to harvest fields in a string variable, with no success. #! /bin/sh . # Variables filelength=0 start=0...
Back
Top