SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Politics : Formerly About Advanced Micro Devices

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Thomas A Watson who wrote (1022336)6/23/2017 12:31:58 AM
From: d[-_-]b  Read Replies (1) of 1573103
 
I have used tsch from 1984 or so and not bash
tcsh is fine for interactive use - but lousy for scripting - no functions or process control features.

PS: I can rewrite it in tcsh

Create the LINK's as needed.

foreach LINK ( gdarg_w gdarg_t gdarg_d gdarg_pro01 gdarg_pro02 gdarg_pro03 gdarg_pro04 )

if ( ! -L /usr/local/bin/$LINK ) then
ln -s /usr/local/bin/dgoogle /usr/local/bin/$LINK
endif

end

Launch using the validated commands

switch ($command)
case gdarg_w | gdarg_t | gdarg_d | gdarg_pro01 | gdarg_pro02 | gdarg_pro03 | gdarg_pro04 :
google-chrome-stable --user-data-dir="/home/$user/.config/google-chrome/$command" &
endsw
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext