Date: Thu, 28 Dec 1995 16:40:08 -0800 From: Edward Wang <edward@edcom.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/917: -s option in jot is broken Message-ID: <199512290040.QAA01969@edcom.com> Resent-Message-ID: <199512290050.QAA11462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 917 >Category: bin >Synopsis: -s option in jot is broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 28 16:50:01 PST 1995 >Last-Modified: >Originator: Edward Wang >Organization: None >Release: FreeBSD 2.1.0-Development i386 >Environment: >Description: It's probably been fixed, but here goes anyway: jot -s don't work >How-To-Repeat: jot -s '' >Fix: *** jot.c.dist Thu Dec 28 16:12:44 1995 --- jot.c Thu Dec 28 16:12:10 1995 *************** *** 140,150 **** break; case 's': if ((*av)[2]) ! strcpy(sepstring, *av + 2); else if (!--ac) error("Need string after -s", ""); else ! strcpy(sepstring, *++av); break; case 'p': if ((*av)[2]) --- 140,150 ---- break; case 's': if ((*av)[2]) ! sepstring = *av + 2; else if (!--ac) error("Need string after -s", ""); else ! sepstring = *++av; break; case 'p': if ((*av)[2]) >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512290040.QAA01969>