8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have some tab delimited text data,
file: final_temp1
aname val
NAME;r'(1,) 3.28584
r'(2,)<tab>
NAME;r'(3,) 6.13003
NAME;r'(4,) 4.18037
r'(5,)<tab>
You can see that the data is incomplete in some cases. There is a trailing tab after the first column for each incomplete row. I... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
2. Shell Programming and Scripting
Hi,
This question might seem bit confusing. Sorry for that.
I have tried to express myself as clear as possible.
I have a text file in following format:
abc_456_def,abc_457_def,123_458_def,abc_3_459_def,zbc_123_456_def
ybc_123_457_def,xbc_3_458def,ybc_124_457_def
I want to check the... (3 Replies)
Discussion started by: ctrld
3 Replies
3. UNIX for Dummies Questions & Answers
HI,
I have a long file which looks like
"1xxx_0_1" "1xxx" 500 5 "ABC*3-DEF*3-LL"
"2yyy_0_1" "2yyy" 600 10 "ABC*2-DEF*2-LL"
"3ddd_0_1" "3ddd" 150 52 "ABC*3-DEF*3-LL"
"1xxx_0_1" "1xxx" 500 5 "ABC*3-DEF*3-LL"
"2yyy_0_1" "2yyy" 600 10 "ABC*2-DEF*2-LL"
... (3 Replies)
Discussion started by: XXLMMN
3 Replies
4. UNIX for Advanced & Expert Users
I have a file against which I can grep a string for. I can also check for that string count using wc -l (or grep -c). I need to display the results of both in one output i.e. 'line containing string' and 'count' - what would be the most efficient way of managing this? Thanks in advance. (3 Replies)
Discussion started by: haider1
3 Replies
5. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
6. UNIX for Dummies Questions & Answers
Hi everyone.
I have a lot of programs i want to run on some data files, they need to be done sequentially. Often the output from one program is the input for the next.
e.g
$ progA data1 > data1.A
$ progB data1.A > data1.AB
$ progC data1.AB > data1.ABC
repeat on data2, 3, 4, 5, 6 etc
... (4 Replies)
Discussion started by: Jay-pea
4 Replies
7. Shell Programming and Scripting
OS=HP-UX ksh
The following works, except I want to include the <start> and <end> in the output.
awk -F '<start>' 'BEGIN{RS="<end>"; OFS="\n"; ORS=""} {print $2} somefile.log'
The following work in bash but not in ksh
sed -n '/^<start>/,/^<end>/{/LABEL$/!p}' somefile.log (4 Replies)
Discussion started by: Ikon
4 Replies
8. Shell Programming and Scripting
Hi,
I have 2 files with contents in them and I need to compare each item in each file.
File1:
item4
item5
File2:
item2
item3
item5
item6
The items names can be of different lengths.
If the items in the File1 are not in File2,
delete the missing item in File1.
The resulting... (12 Replies)
Discussion started by: ReV
12 Replies
gnome-screenshot(1) User Commands gnome-screenshot(1)
NAME
gnome-screenshot, gnome-panel-screenshot - GNOME screenshot utility
SYNOPSIS
gnome-screenshot | gnome-panel-screenshot [--border-effect=effect] [--delay=int] [--include-border] [--interactive] [--window] [gnome-std-
options]
DESCRIPTION
gnome-screenshot allows users to capture the screen image of a window or the complete screen. gnome-panel-screenshot is a symlink to
gnome-screenshot.
If the --window option is used, you must move the mouse pointer to the window to be captured. The --delay option is always used with the
--window option, to allow sufficient delay to set up the required screenshot. Once you have captured the window region, you are presented
with a dialog showing a preview of the snapshot and the choice to save the image.
OPTIONS
The following options are supported:
--border-effect=effect Effect to add to the border.
--delay=int Pause for int seconds before capturing the window or screen
--include-border Include the window border with the screenshot.
--interactive Interactively set options.
--window Capture a screenshot of the window in which the mouse pointer is located.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Capturing the full screen
example% gnome-screenshot
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-screenshot Executable for GNOME screenshot utility
/usr/bin/gnome-panel-screenshot Symbolic link to gnome-screenshot.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-utils |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gnome-panel(1), attributes(5), gnome-std-options(5)
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2006, 2007.
SunOS 5.11 09 Nov 2007 gnome-screenshot(1)