tag:blogger.com,1999:blog-5554915078212081470.post761383872538239643..comments2023-07-31T04:22:23.114-05:00Comments on HiR Information Report: UNIX tip of the day: cut columns from a text fileAx0nhttp://www.blogger.com/profile/12145109647562469601noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5554915078212081470.post-777708199595211902008-06-12T13:49:00.000-05:002008-06-12T13:49:00.000-05:00Nice awk example! I'm very resistant to using awk,...Nice awk example! I'm very resistant to using awk, so would end up doing something like:<BR/><I>ls -la | tr -s [:blank:] | cut -d" " -f8,3,1 | sed "s/^\(.*\) \(.*\) \(.*\)$/\3 \2 \1/"</I><BR/>Which is ls, squeeze blanks, cut on single blanks, use <B>sed</B> and capturing regular expressions to rearrange. I liked your way better.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5554915078212081470.post-6664068963567957502008-01-14T14:04:00.000-06:002008-01-14T14:04:00.000-06:00Your page reminds me just how little I actually kn...Your page reminds me just how little I actually knowA Family/Group Memberhttps://www.blogger.com/profile/17875456512470985606noreply@blogger.com