leftridge1
asked on
Insert 6 digits into a chart
Nee help in :
1. add my 6 figure into my chart
2. delete name in a chart
66666 Gustavson Ian 25 M 250000
88888 Anderson Jane Jane 38 F
need to delete the 1st Jane and insert 450000 under 250000. Please help me the chart should look like this
66666 Gustavson Ian 25 M 250000
88888 Anderson Jane 38 F 450000
Please help!!!!!!!!!!
1. add my 6 figure into my chart
2. delete name in a chart
66666 Gustavson Ian 25 M 250000
88888 Anderson Jane Jane 38 F
need to delete the 1st Jane and insert 450000 under 250000. Please help me the chart should look like this
66666 Gustavson Ian 25 M 250000
88888 Anderson Jane 38 F 450000
Please help!!!!!!!!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw:
Perhaps one of you has an idea (according to the given awk-suggestions, I guess not...;) ):
I was just wondering, whether awk provides a kind of "shift-operator" for the postional params/matches....
Perhaps one of you has an idea (according to the given awk-suggestions, I guess not...;) ):
I was just wondering, whether awk provides a kind of "shift-operator" for the postional params/matches....
> .. awk .. "shift-operator"
unfortunately no, at least I don't know of any
sometimes your simply can set a positional parameter "empty, like $3=""; but that is gawk/nawk only
otherwise you have to loop
for(i=start;i<=NF;i++){$(i -1)=$i;}
unfortunately no, at least I don't know of any
sometimes your simply can set a positional parameter "empty, like $3=""; but that is gawk/nawk only
otherwise you have to loop
for(i=start;i<=NF;i++){$(i
ASKER
66666 Gustavson Ian 25 M 250000
88888 Anderson Jane 38 F 450000
Is there any way I can add space to line the chart up.