When I execute this command:
exec xterm �e $SHELL �c �sed �n 4p /folder1/folder2/folder3/file.dat; $SHELL�
I have the expecting result: It opens an new terminal, it shows the 4th line of the file and the terminal window stays open perfect.
So I tried to write it in the dtwmrc file to have an extra line in the Workspace Manager Menus to execute this command. I add this line in the dtwmrc file:
�The 4th line is� f.exec xterm �e $SHELL �c �sed �n 4p /folder1/folder2/folder3/file.dat; $SHELL�
But the problem is when I click on the menu �The 4th line is�, it opens a terminal and shows nothing.
I expected to have:
�content of the 4th line�
WkOps: /export/home/user $ _
But I only have
WkOps: /export/home/user $ _
I work on Solaris 10
Damien