tag:blogger.com,1999:blog-27488238.post6065321896797375866..comments2024-03-22T11:34:45.165+01:00Comments on taw's blog: More small Unix utilities written in Rubytawhttp://www.blogger.com/profile/16972845140253292628noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-27488238.post-17677447128532881862013-04-18T11:51:15.515+02:002013-04-18T11:51:15.515+02:00Julien: I guess I reimplemented that for no good r...Julien: I guess I reimplemented that for no good reason then ;-)<br /><br />It's not really surprising, often it's easier to write a Ruby or Perl one-liner than to find options for existing command to do the same thing.tawhttps://www.blogger.com/profile/16972845140253292628noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-83655783451392617652013-04-18T11:14:09.515+02:002013-04-18T11:14:09.515+02:00cut(1) does this as well. It does both characters ...cut(1) does this as well. It does both characters (cut -c1-80) and fields (cut -f2,3).<br /><br />Nice series of tools though :)Anonymoushttps://www.blogger.com/profile/11349651184326862974noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-84501143072340435682013-04-18T11:12:53.673+02:002013-04-18T11:12:53.673+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/11349651184326862974noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-6143820310349571072013-04-12T17:55:18.017+02:002013-04-12T17:55:18.017+02:00Unknown: They do different things - fmt reformats,...Unknown: They do different things - fmt reformats, I just brutally chop excess. It's mostly usable for reading machine-generated xml and json files after putting them through auto-indentation.tawhttps://www.blogger.com/profile/16972845140253292628noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-27517002247218467402013-04-12T17:41:40.738+02:002013-04-12T17:41:40.738+02:00The pre-existing 'fmt' command does what y...The pre-existing 'fmt' command does what your 'colcut' does and more and is likely much faster.Unknownhttps://www.blogger.com/profile/01584579534515923992noreply@blogger.com