09-28-2001
The first two books that pop into kind are Sed & Awk, published by O'Reilly. Also, learning the Korn Shell by O'Reilly is pretty good. Another Korn Shell book I really enjoy is Korn Shell Programming, By Example published by Que.
Don't forget to search the forum for other people's opinions, and the special FAQ section, where there's actually a Book section...
Last edited by LivinFree; 09-28-2001 at 02:53 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a text file in which the text has been divided into paragraphs (two line breaks or tab marks a new paragraph) and I want to make a script which output would delete line breaks within the paragraph and the different paragraphs would be separated by two line breaks.
So, if my input file... (14 Replies)
Discussion started by: Muki101
14 Replies
2. Shell Programming and Scripting
Hi,
I am trying to understand what is happening here, new to scripting: I have a couple of these, but if I knew what was going on in one I can figure out the rest:
awk '/rpc-100083/ { $2 = "enable -r" }
$3 ~ /.NOS99dtlogin/ { $t = $2; $2 = $3; $3 = $t }
{ print }' /var/svc/profile/upgrade... (2 Replies)
Discussion started by: ulemsee
2 Replies
3. Shell Programming and Scripting
Hi
I have 2 files of large size( 10 Miilions) , i want to join 2 files based on some condition .
for this taking lot of time and 100 cpu .i want to iterate the based on some value (like 1 lakh)
I put the 2 files in the associative arrays . if the array limit reaches the 1 lach join the with... (2 Replies)
Discussion started by: kiranmosarla
2 Replies
4. Shell Programming and Scripting
Hi Experts,
I am adding a column of numbers with awk , however not getting correct output:
# awk '{sum+=$1} END {print sum}' datafile
2.15291e+06
How can I getthe output like : 2152910
Thank you..
# awk '{sum+=$1} END {print sum}' datafile
2.15079e+06 (3 Replies)
Discussion started by: rveri
3 Replies
5. Shell Programming and Scripting
Hi, i am newbie to this site and hope to learn but problem is s but need help urgently.
Plz pm me if you are good at this.
Help will be appreciated. (11 Replies)
Discussion started by: Rookie80
11 Replies
6. Shell Programming and Scripting
Hi,
This is the first time I am working with awk and I am not familiar with any commands in it. But I managed to do most of my work just left with one more. Needing your help!
I have to extract only the matrix (written within ) from a text file. For example:
1JTJ_0006_ACGC_NPNP_A_12_15.pdb ... (17 Replies)
Discussion started by: SriJit
17 Replies
7. Shell Programming and Scripting
hi all,
I am working on awk scripting.I have created two awk files and now have a requirement of replacing the contents of first file with some contents of second file.
Please find below the two files created.File1 has 3 records and File2 has 4 records.
cat File1
111,0165,CB21031251,0165,... (3 Replies)
Discussion started by: csrohit
3 Replies
8. Shell Programming and Scripting
Hi
I am beginner of shell/AWK scripting , can you please help me in select particular column and column between two pattern from a multiple column file.
file1.txt
number status date1 date2 description category ... (7 Replies)
Discussion started by: vijay_rajni
7 Replies
9. Shell Programming and Scripting
Hey guys,
I want to get all the columns in this input file tab-delimited, i need to get the column send them to a variable. From there i could print them in shuffle and pick and select columns i want.
Here is the input sample
2013/08/05 06:50:38:067 MINOR SiteScope ... (9 Replies)
Discussion started by: ryandegreat25
9 Replies
10. Shell Programming and Scripting
I am trying to write a shell script that will add a date to and awk command from the command prompt.
here is the line I am having difficulties.
zgrep -i playback $dir/$1-*-errors.out.gz |cut -d '|' -f 1,11,12,15 | awk -v start=${start} -v end=${end} -F '|' '{$1>=start && $1 <=end} {print $2... (7 Replies)
Discussion started by: infinity0880
7 Replies
Shell(3) LessTif Manuals Shell(3)
NAME
Shell - Shell widget from X Toolkit
SYNOPSIS
#include <X11/Shell.h>
DESCRIPTION
Shell is a widget which is defined in the X Toolkit. We document its existence here for completeness. Please refer to the X Window System
documentation for the real information regarding this widget.
X RESOURCES
Name Class Type Default Access
--------------------------------------------------------------------------------
XtNx XtCPosition Position NULL CSG
XtNy XtCPosition Position NULL CSG
XtNdepth XtCDepth Int NULL CSG
XtNcolormap XtCColormap Colormap NULL CSG
XtNancestorSensitive XtCSensitive Boolean NULL CSG
XtNallowShellResize XtCAllowShellResize Boolean NULL CSG
XtNgeometry XtCGeometry String (null) CSG
XtNcreatePopupChildProc XtCCreatePopupChildProc Function NULL CSG
XtNsaveUnder XtCSaveUnder Boolean NULL CSG
XtNpopupCallback XtCCallback Callback NULL CSG
XtNpopdownCallback XtCCallback Callback NULL CSG
XtNoverrideRedirect XtCOverrideRedirect Boolean NULL CSG
XtNvisual XtCVisual Visual NULL CSG
XtNx
XtNy
XtNdepth
XtNcolormap
XtNancestorSensitive
XtNallowShellResize
XtNgeometry
XtNcreatePopupChildProc
XtNsaveUnder
XtNpopupCallback
XtNpopdownCallback
XtNoverrideRedirect
XtNvisual
CLASS HIERARCHY
Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Shell(3)
CALLBACKS
CONVENIENCE FUNCTIONS
SEE ALSO
LessTif Project October 1998 Shell(3)