Description:
Using and programming the Unix shell.
|
|
|
10 Reasons Why YOU Should Join Us
|
| |
10 Reasons Why YOU Should Join Us The Most Proven Leisure Internet Business. Business that earns you more money every day. Thanks to the power of the Internet. Ground floor opportunity backed by a highly successful. 1. Free Registration 2. Start Earning As Soon As You Join 3. Weekly Unlimited Income... more »
|
|
how to pass file names get from grep to sed
|
| |
Dear all: suppose i want to replace cat with dog in all the files within a folder, how could I reach that with grep and sed? i try to use "grep -lr 'cat' * |sed -ei 's/cat/deg/' ", but sed seems cannot eat the file names piped by grep. How could I pass the file names to sed? appreciate your help, miloody... more »
|
|
Determining caller for a shell function
|
| |
Hi, If I've an exported function in BASH, how can I distinguish among the following scenarios when the function is: * Invoked interactively by user from command line * Invoked from a function * Invoked from a sub-shell or a shell script (I could test this by inspecting $- for "i") Thanks Jeenu
|
|
|