History

plan9: treat (semi)colon as arguments separator with commands

Sigrid Haflínudóttir committed 6 years ago

Commit cd31f041 parent e47e8d52 files · +4 −2Browse files

Unified · Split

2 files
  1. orca.man +3 −1
  2. plan9.c +1 −1
orca.man+3−1
@@ -180,7 +180,9 @@ Commands can be entered into Orca either manually with · 179 unmodified lines
180180 .B Ctrl+k
181181 or with a
182182 .B $
183−operator. All commands except
183+operator. Arguments may be separated with a (semi)colon as well as
184+any whitespace characters.
185+All commands except
184186 .I undo
185187 ,
186188 .I redo
plan9.c+1−1
@@ -786,7 +786,7 @@ command(char *s, void (*snapshot)(void)) · 785 unmodified lines
786786 return;
787787 }
788788
789− if ((argc = tokenize(tmp, argv, nelem(argv))) < 1)
789+ if ((argc = gettokens(tmp, argv, nelem(argv), ":;\t\r\n ")) < 1)
790790 return;
791791 s = argv[0];
792792

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t