|
|||
One terse ksh reference
Hi.
I'm not sure what forum this belongs, so I put in into Off-Topic. There is a very terse reference on ksh shell used in OpenBSD on codeberg website. It may be of use to advanced ksh users. Here's the link. |
|
|||
Thanks for the link,,,nice
|
|
|||
This reference is so "terse", I can barely understand anything.
In the while read section the code Code:
funktion func { while read ... } < file |
|
|||
Code:
$ cat show_it.sh #!/bin/sh function show { while read DATA do echo "#===$DATA====!" done } <test-data.txt show ; $ cat test-data.txt a b c 1 2 3 $ ./show_it.sh #===a====! #===b====! #===c====! #===1====! #===2====! #===3====!
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
Tags |
ksh reference |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
libc reference manual | attilio | Programming | 4 | 29th December 2019 08:35 AM |
Zlib reference in wip branch | darktrym | NetBSD Package System (pkgsrc) | 1 | 8th January 2017 08:19 PM |
undefined reference to `KERNEL_PROC_UNLOCK' | sw2wolf | OpenBSD Packages and Ports | 6 | 27th March 2012 06:40 AM |
interface has inet6 reference | dbach | OpenBSD General | 1 | 19th August 2011 09:37 PM |
Undefined reference to `xpt_bus_deregister' | FreeBee | FreeBSD Installation and Upgrading | 2 | 6th January 2010 03:59 PM |