Search Results

Search: Posts Made By: a_programmer
2,593
Posted By Chubler_XL
read -r in ksh93 will leave the \n as they are....
read -r in ksh93 will leave the \n as they are. You can then use echo (or printf) to translate them to the correct character:

$ echo 'Programmer\\ntest' | read -r line rest
$ set | grep line ...
2,241
Posted By fpmurphy
This might help you .... Extracted from a...
This might help you ....

Extracted from a blog post KSH93 Custom Builtins II (http://blog.fpmurphy.com/2008/12/korn-shell-93-custom-builtins-ii.html) I wrote a couple of years ago:

Example 5 ...
2,241
Posted By hergp
Some years ago I wrote a few ksh93 builtins. One...
Some years ago I wrote a few ksh93 builtins. One of them can manipulate the PATH variable and similar ones (like MANPATH, etc). I haven't used it for some time now, so I am not sure, if it still...
Showing results 1 to 3 of 3

 

Featured Tech Videos

All times are GMT -4. The time now is 05:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy