10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
str contains tabs and multiple spaces
str="hello world. How are you?"
I want to check string start with hello world,
and my code is:
if ]world"* ]]; then
echo "found"
else
echo "not found"
fi
Not work
Other solution may work is to replace all tabs and... (4 Replies)
Discussion started by: cmdcmd
4 Replies
2. AIX
Hello,
We enabled X11 and xming is riunning. we used to open firefox window using below command on AIX.
/usr/bin/firefox
Xclock is working fine now. But for some reason firefox stopped working on one of our AIX LPAR. Can you please look in to below error.
/>/usr/bin/firefox... (5 Replies)
Discussion started by: aaron8667
5 Replies
3. Shell Programming and Scripting
Gents,
I found this script to to launch a KDE Konsole window with multiple tabs..
#!/bin/bash
#
# Create my standard konsole windows.
if ]; then
profile=Shell
fi
sessions=(
sh1 $profile 'clear; bash'
sh1 $profile 'clear; bash'
su1 $profile 'clear; su'... (1 Reply)
Discussion started by: jiam912
1 Replies
4. Emergency UNIX and Linux Support
Hey Guys ,
Recently working on a requirement , i had to deal with XLS file with multiple tabs and the requirement was as below :
1. Convert one XLS file with multiple tabs to multiple CSV files.
-- As i was working on MAC , so it was quite easy through APPLESCRIPT to deal with this.But... (6 Replies)
Discussion started by: himanshu sood
6 Replies
5. UNIX for Advanced & Expert Users
Hey Guys ,
Recently working on a requirement , i had to deal with XLS file with multiple tabs and the requirement was as below :
1. Convert one XLS file with multiple tabs to multiple CSV files.
-- As i was working on MAC , so it was quite easy through APPLESCRIPT to deal with this.But... (2 Replies)
Discussion started by: himanshu sood
2 Replies
6. Shell Programming and Scripting
Hi all
I'm a shell script newbie so please have some patience with me :D
To my question:
I wrote a simple shell script which opens a firefox instance with multiple tabs. So far, so good. But I would also like to have all these tabs automatically refreshed (let's say all 45 seconds). Is that... (1 Reply)
Discussion started by: NemesisBBB
1 Replies
7. Emergency UNIX and Linux Support
I upgraded my server to Firefox version 7.0.1 and created a symbolic link to /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libnpjp2.so in the /usr/lib/firefox/plugins directory. According to the directions from the mozilla site, this should work. But whenever i attempt to access an app that requires... (0 Replies)
Discussion started by: goose25
0 Replies
8. Shell Programming and Scripting
hello
I have browsed for the similar requirement i found this
https://www.unix.com/shell-programming-scripting/40163-xls-csv-conversion.html
but my problem is i have multiple tabs in xls file having same metadata
I want to convert it into single csv file
any ways to do it pls... (5 Replies)
Discussion started by: joshiamit
5 Replies
9. BSD
Hi,
I use FreeBSD 7.1-RELEASE with Firefox 3.0.5 and am having some trouble getting the Java VM working.
I have tried both the diablo-jre16 and diablo-jdk16 ports with the javavmwrapper installed. I tried the diablo ports installed individually and together, and have tried installing them... (1 Reply)
Discussion started by: whetphish
1 Replies
10. Shell Programming and Scripting
Hi,
Actually I am want to cut the three fields of "file-nr" file.
$ cat /proc/sys/fs/file-nr
638 219 52270
I want to assign these value to diffrent varibales as follow:-
a=638
b=219
c=52270
I tried to use cut command for this purpose and also tried to squeeze all sapces... (6 Replies)
Discussion started by: bisla.yogender
6 Replies
XmTabListReplacePositions(library call) XmTabListReplacePositions(library call)
NAME
XmTabListReplacePositions -- A convenience function that creates a new tab list with replacement tabs
SYNOPSIS
#include <Xm/Xm.h>
XmTabList XmTabListReplacePositions(
XmTabList oldlist,
Cardinal *position_list,
XmTab *tabs,
Cardinal tab_count);
DESCRIPTION
XmTabListReplacePositions creates a new tab list that contains the contents of oldlist, but with the tabs at the positions in position_list
replaced with copies of the corresponding tabs in tabs. A warning message is displayed if a specified position is invalid; for example, if
the value is a number greater than the number of tabs in the tab list.
This function deallocates the original tab list after extracting the required information. It is the caller's responsibility to free the
tabs in tabs by using the XmTabFree function.
oldlist Specifies the tab list. The function deallocates the tab list after extracting the required information.
position_list
Specifies an array of positions of the tabs to be replaced. The position of the first tab is 0 (zero), the position of the second
tab is 1, and so on.
tabs Specifies an array of the replacement tabs.
tab_count Specifies the number of elements in position_list and tabs.
RETURN
If tabs, oldlist, or position_list is NULL, or tab_count is 0 (zero), returns oldlist. Otherwise, this function returns the new tab list.
The function allocates space to hold the returned tab list. The application is responsible for managing the allocated space. The applica-
tion can recover the allocated space by calling XmTabListFree.
RELATED
XmTabList(3).
XmTabListReplacePositions(library call)