I have a file as follows
100 sesCook=0ea4ce6259b087f5aec09934b3aab9fe4f0ee62d 100 sesCook=71e16fadaf9c5c57e7ef706a60f768bcffad7fc1 100 sesCook=a60cbaaed8349260783309a72c8bcdbd4d030255 100 sesCook=f8470d1272c4d9c1b69682260ed1b558c7a2dd55 101 sesCook=83b867a10e3d9d3b727d281548dcf6c29efb9382 101 sesCook=e7c4a834d57576d73e66883d7fbfbc8160125569
I want to have the first column as is. However, in the second column, I want to cut out all "sesCook=" and just have a pattern, for example:
100 0ea4ce6259b087f5aec09934b3aab9fe4f0ee62d 100 71e16fadaf9c5c57e7ef706a60f768bcffad7fc1 100 a60cbaaed8349260783309a72c8bcdbd4d030255 100 f8470d1272c4d9c1b69682260ed1b558c7a2dd55 101 83b867a10e3d9d3b727d281548dcf6c29efb9382 101 e7c4a834d57576d73e66883d7fbfbc8160125569
How can I do this with awk or cut?
source share