Sample Header Ad - 728x90

Why when using seq -s delimiter is after the last element?

1 vote
1 answer
330 views
I was trying different examples from Unix shell tutorial with seq command and got a different result in my terminal. command:
seq -s '/' 1 5
result:
1/2/3/4/5/
instead of
1/2/3/4/5
The command works as expected in online bash, only mine does it in a different way.
Asked by MTabaka (11 rep)
Dec 22, 2021, 10:05 PM
Last activity: Dec 22, 2021, 11:06 PM