>Number: 917
>Category: bin >Synopsis: -s option in jot is broken
This commit is contained in:
parent
b3d64ab72f
commit
e29b080f61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13101
@ -140,11 +140,11 @@ getargs(ac, av)
|
||||
break;
|
||||
case 's':
|
||||
if ((*av)[2])
|
||||
strcpy(sepstring, *av + 2);
|
||||
sepstring = *av + 2;
|
||||
else if (!--ac)
|
||||
error("Need string after -s", "");
|
||||
else
|
||||
strcpy(sepstring, *++av);
|
||||
sepstring = *++av;
|
||||
break;
|
||||
case 'p':
|
||||
if ((*av)[2])
|
||||
|
Loading…
Reference in New Issue
Block a user