On Mon, Apr 19, 2010 at 22:39, narendra sisodiya <
[email protected]> wrote:

>
>
> On Mon, Apr 19, 2010 at 7:28 PM, Phani Bhushan Tholeti 
> <[email protected]>wrote:
>
>> On Mon, Apr 19, 2010 at 19:12, narendra sisodiya <
>> [email protected]> wrote:
>>
>>> can somebody correct the error in this bashrc file ?
>>>
>>
>> mdc() { mkdir -p "$1" && cd "$1"; }
>>
>> Add the ";" at the end - it fixed the prob for me - I am not much into
>> shell scripting and am not sure how/why this affects the flow or the error
>> even ;-)
>>
>
> Thanks !!
>
> --
> l...@iitd - http://tinyurl.com/ycueutm


Refer the following:

http://www.faqs.org/docs/bashman/bashref_22.html

It says the command list must end with ';'.


______Sudarsan

-- 
l...@iitd - http://tinyurl.com/ycueutm

Subscription settings: http://groups.google.com/group/iitdlug/subscribe?hl=en

Reply via email to