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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -