Suppose you have a file called test.txt with data like:you wel comehow nicewhat do ingHow can I add a hyphen in the second column if the space is given between a word?
command to put hyphen in the second column if the space is given between a word
shell script;text processing