Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Workspace Manager Menus - dtwmrc file

$
0
0
When I execute this command:
Code:

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:
Code:

“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:
Code:

“content of the 4th line”
WkOps: /export/home/user $ _

But I only have
Code:

WkOps: /export/home/user $ _
I work on Solaris 10

Damien

Viewing all articles
Browse latest Browse all 16232

Trending Articles