Hello,
In my doorparty script I use the following to get the users handle:
HANDLE=$(sed '36q;d' ${DROPFILE} | tr -d '\r\n')
This works fine for someone like me with a handle of "Tiny" what if
my handle was "The Tiny" I need to convert it from "The Tiny" to
"The_Tiny" so I can pass
the handle
to door party correctly. As it is now the script fails because the
number of parameters is incorrect.
Any ideas?
Quoting apam to Tiny <=-
I think I remember this problem. Try adding
HANDLE=${HANDLE// /_}
| Sysop: | altere |
|---|---|
| Location: | Houston, TX |
| Users: | 71 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 01:56:15 |
| Calls: | 1,657 |
| Calls today: | 2 |
| Files: | 8,792 |
| D/L today: |
32 files (374K bytes) |
| Messages: | 312,433 |