Sysop: | KK4QBN |
---|---|
Location: | Chatsworth, GA |
Users: | 48 |
Nodes: | 10 (0 / 10) |
Uptime: | 95:22:40 |
Calls: | 900 |
Calls today: | 0 |
Files: | 138,634 |
U/L today: |
0 files (0K bytes) |
D/L today: |
596 files (806M bytes) |
Messages: | 26,279 |
Posted today: | 1 |
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.