我正在编写一个Eclipse插件.我的插件是打开一个viewpart窗口并在里面绘制一个图形.我正在运行插件并打开viewpart窗口,然后关闭Eclipse.所以我想要的是在下次启动Eclipse时默认情况下不会再次打开viewpart窗口.谁能告诉我该怎么做呢?
亲切的问候,Kyriakos
嗨,我有以下bash脚本代码
group2=0
while read -r line
do
popAll=$line | cut -d "{" -f2 | cut -d "}" -f1 | tr -cd "," | wc -c
if [[ $popAll = 0 ]]; then
group2 = $((group2+2));
else
group2 = $((group2+popAll+1));
fi
done << (grep -w "token" "$file")
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
./parsingTrace: line 153: syntax error near unexpected token `('
./parsingTrace: line 153: `done << (grep -w "pop" "$file")'
Run Code Online (Sandbox Code Playgroud)
我不想把grep传递给while,因为我希望循环内部的变量在外面可见