{"id":2374,"date":"2010-07-09T12:47:00","date_gmt":"2010-07-09T12:47:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2010\/07\/09\/gnu-coreutils-seq\/"},"modified":"2010-07-09T12:47:00","modified_gmt":"2010-07-09T12:47:00","slug":"gnu-coreutils-seq","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2010\/07\/09\/gnu-coreutils-seq\/","title":{"rendered":"GNU Coreutils &#8220;seq&#8221;"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/www.gnu.org\/software\/coreutils\/manual\/html_node\/seq-invocation.html#seq-invocation\">the manual page.<\/a><\/p>\n<p>Why do I keep forgetting the name of this wonderful little helper?<\/p>\n<p><span>seq<\/span>\u00a0prints a sequence of numbers to standard output. Synopses:<\/p>\n<pre>     seq [<var>option<\/var>]... <var>last<\/var>\n     seq [<var>option<\/var>]... <var>first<\/var> <var>last<\/var>\n     seq [<var>option<\/var>]... <var>first<\/var> <var>increment<\/var> <var>last<\/var>\n<\/pre>\n<p><span>seq<\/span>\u00a0prints the numbers from\u00a0<var>first<\/var>\u00a0to\u00a0<var>last<\/var>\u00a0by\u00a0<var>increment<\/var>. By default, each number is printed on a separate line. When\u00a0<var>increment<\/var>\u00a0is not specified, it defaults to \u2018<span>1<\/span>\u2019, even when\u00a0<var>first<\/var>\u00a0is larger than\u00a0<var>last<\/var>.\u00a0<var>first<\/var>\u00a0also defaults to \u2018<span>1<\/span>\u2019. So\u00a0<code>seq 1<\/code>\u00a0prints \u2018<span>1<\/span>\u2019, but\u00a0<code>seq 0<\/code>\u00a0and\u00a0<code>seq 10 5<\/code>\u00a0produce no output. Floating-point numbers may be specified (using a period before any fractional digits).<\/p>\n<div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>the manual page. Why do I keep forgetting the name of this wonderful little helper? seq\u00a0prints a sequence of numbers to standard output. Synopses: seq [option]&#8230; last seq [option]&#8230; first last seq [option]&#8230; first increment last seq\u00a0prints the numbers from\u00a0first\u00a0to\u00a0last\u00a0by\u00a0increment. By default, each number is printed on a separate line. When\u00a0increment\u00a0is not specified, it defaults [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[636],"tags":[],"class_list":["post-2374","post","type-post","status-publish","format-standard","hentry","category-the-shell-programming-language"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-Ci","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=2374"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2374\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=2374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=2374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=2374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}