| Sysop: | KK4QBN |
|---|---|
| Location: | Chatsworth, GA |
| Users: | 22 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 05:34:06 |
| Calls: | 1,220 |
| Calls today: | 1 |
| Files: | 94,829 |
| U/L today: |
0 files (0K bytes) |
| D/L today: |
221 files (1,988M bytes) |
| Messages: | 30,384 |
| Posted today: | 0 |
Accession wrote to Bill McGarrity <=-
On Fri Feb 10 2017 01:45:00, Bill McGarrity wrote to Accession:
Aha. Figured it out. While "-f", "-t", and "-s" are all options that should be started with a "-", "i" is a command, and should not be. Here
is one of my scripts to import a text file:
#!/bin/bash
export SBBSCTRL=/sbbs/ctrl
/sbbs/exec/smbutil i/sbbs/text/phar_ad.asc /sbbs/data/subs/dove-ads.shd
< /sbbs/mods/hdr/phar_ad.hdr
Take out the hyphen before "i" as well as the space, and you should be good to go.
Also, I believe you can use regular spacing as long as you use
quotes (ie: -s"BinkD Daily Graph").
Done. Once I get the other stuff working hopefull that will take care
of the _ issue.
Also, as you can see above, I use a header to fill in the option
fields. The "phar_ad.hdr" only contains three lines:
So you don't need to add that to the command line if you do something
like what I do above. That's completely optional, though.