8f04
![]() |
|
|
|
|
|||||||
| Userland Programming & Scripting C, C++, Python, Perl, Shell, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I'm quite new to using FreeBSD in my network environment, I'm currently using, under linux, a script using a bunch of 'read' command to get the inputs of fd1. The linux syntax I use is: Code:
read -u 1 -d $'\0' from Is there a replacing command for that? Thanks, A Last edited by DutchDaemon; February 9th, 2010 at 17:06. Reason: added [code] tags |
|
#2
|
||||
|
||||
|
Looks like a bash thing
![]() You could just install shells/bash and run the script on that. All you would need to do is to change the first line: Code:
#!/usr/local/bin/bash
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read DWARF file | rajukgp | Userland Programming & Scripting | 11 | March 21st, 2012 09:06 |
| [Solved] gjournal read error and spontaneous reboot on file removal attempt | uisge | System Hardware | 2 | December 9th, 2010 22:10 |
| How to read a user's /var/mail/ file with PHP | mharvey87 | Userland Programming & Scripting | 7 | January 7th, 2010 14:25 |
| tape read errors: how to read past? recover? | monkeyboy | System Hardware | 5 | May 13th, 2009 13:41 |
| Cannot read from ext2 disk - g_vfs_done():da2[READ(snip)] error 5 | skaffen | General | 0 | March 6th, 2009 16:02 |