+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 3
    Points: 285, Level: 3

    Join Date
    Sep 2018
    Posts
    4
    Helped
    0 / 0
    Points
    285
    Level
    3

    Preferred shell for scripting, csh or bash?

    Why is csh/tcsh shell still used as default shell in IC design industry when scripting in cshell is so frowned upon. Is shell scripting still around or has been completely superceded by languages like perl/python. Being a fresher in this industry which shell does it makes the most sense to go for, bash or csh.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 3
    Points: 6,627, Level: 19
    Achievements:
    Created Blog entry 7 years registered

    Join Date
    Dec 2011
    Location
    Fremont, CA, USA
    Posts
    799
    Helped
    357 / 357
    Points
    6,627
    Level
    19
    Blog Entries
    4

    Re: Preferred shell for scripting, csh or bash?

    Although perl/python are interpretive languages, thay are not interactive like a shell. You still need shell scripts to setup your environment, create directories, and execute your perl/python scripts. You will see a lot less shell scripting, so the choice between csh and bash is less important. But what is most important is that everyone on the same team/company stick with one shell.
    Dave Rich
    Senior Verification Consultant
    Mentor Graphics Corporation



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 5
    Points: 9,186, Level: 22

    Join Date
    Apr 2016
    Posts
    1,916
    Helped
    337 / 337
    Points
    9,186
    Level
    22

    Re: Preferred shell for scripting, csh or bash?

    there is a lot of legacy stuff in environment scripts and tool installation scripts. so we keep using the same stuff over and over.
    Really, I am not Sam.



--[[ ]]--