unix - Arranging characters in a file with one command -
i have assignment in unix class throwing curve ball. have file , have move character in 5th column of selected line first column of same line. has done 1 command. understand cut -c5 [file]. don't understand how rearrange first column in 1 command. sorry if doesn't sound tried. book , internet not serving me right now.
i'm allowed use commands in chapter. find, cat, cp, cut, find, join, mv, paste, rm, rmdir, sort, touch. awk command introduced not needed assignment per professors instructions.
the given input is:
219 432 4567 harrison
the desired output believe is:
4219 32 4567 harrison
he gave hint:
(two solutions exist, 1 in use semicolon separate 2 commands , 1 more finesse in use pipe character.)
i asked using 2 commands , pipe character. professor said in next chapter. why question here beyond me. i'll go check next chapter problem.
Comments
Post a Comment