I have a file something like this:
1234 $11 ABCD
1234 $5 XXXX
1299 $8 YYYY
1299 $6 FFCC
1299 $4 XCVB
1255 $1 XDCF
1255 $4 DDCC
output desired:
1234 $11 ABCD
1234 $5 XXXX
1299 $8 YYYY
1299 $6 FFCC
1299 $4 XCVB
1255 $1 XDCF
1255 $4 DDCC
I want a space inserted when string 1 changes. I have not done much with storing values so I don't know where to start. I would appreciate some help. Thanks!!
1234 $11 ABCD
1234 $5 XXXX
1299 $8 YYYY
1299 $6 FFCC
1299 $4 XCVB
1255 $1 XDCF
1255 $4 DDCC
output desired:
1234 $11 ABCD
1234 $5 XXXX
1299 $8 YYYY
1299 $6 FFCC
1299 $4 XCVB
1255 $1 XDCF
1255 $4 DDCC
I want a space inserted when string 1 changes. I have not done much with storing values so I don't know where to start. I would appreciate some help. Thanks!!