shell - deleting line numbers in sed or awk -
i have file in each line begins number 0-243, , restarts 0-243 2000 times. how can delete line numbers awk or preferably sed? used command in awk doesn't work : '{$1=$2= " "; $0=$0; $1=$1}1'
this should do, provided there no other numbers @ beginning of line:
sed -r 's/^[0-9]+//'
Comments
Post a Comment