>Number: 917

>Category:       bin
>Synopsis:       -s option in jot is broken
This commit is contained in:
Joerg Wunsch 1995-12-29 12:18:46 +00:00
parent b3d64ab72f
commit e29b080f61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13101

View File

@ -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])