Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • @thanasisp Yes, the ending would remain to the max value it reached. The previous user did offer a printf that does work nicely, but I'm trying to get a seq to work Commented Dec 4, 2020 at 8:35
  • It's a different thing to print the combinations or permutations from what you describe here. edit your question and make the question clear, with a correct output. Commented Dec 4, 2020 at 8:38
  • @thanasisp I thought I made that quite clear by showing it ends of at 5.5.5.5 and not any values being changed Commented Dec 4, 2020 at 8:40
  • Shouldn't the title be changed in "...If one column is equal to 5, ..." ? Commented Dec 4, 2020 at 10:13
  • Does it have to be a shell script using seq, or are dedicated text-processing tools like awk also an option? Commented Dec 4, 2020 at 11:05