02-10-2017
You don't need a $50,000 subscription to learn sed/awk/grep - these standard UNIX tools are found in just about anything. I'm not sure you even need another operating system. For a gentle start with no installation, you could look into
busybox-win32.
Run
busybox.exe sh from a cmd prompt, and you're in a Bourne shell which supports all those commands natively, including a basic 'vi' editor to build your scripts in.
The commands in this usually only support the basic arguments, not the fancy GNU ones you might use by accident and realize don't work on AIX.
These 2 Users Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Im new to Sed and Awk, and would like to read through a nice tutorial.
Could you please suggest me one.
Thanks (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
2. Shell Programming and Scripting
hi all
by using cat /etc/passwd
I've got these output.
ajh1ect:x:839:501:Anthony:/home/ajh1ect:/bin/bash
mjb1ect:x:840:501:Michael:/home/mjb1ect:/bin/bash
mv3ect:x:841:501:Marian:/home/mv3ect:/bin/bash
now I want to see just the user ID and group ID.
so what is the code will be with... (2 Replies)
Discussion started by: nokia1100
2 Replies
3. UNIX for Dummies Questions & Answers
------------------------------------------------------------------
Ex of Warning messgae,(Many similar lines occure for Both Test and Test1)
-WARNING:Below Field not implemented in file File name: /home/test/
new/file1, msg buffer is:
:Test:000948
... (1 Reply)
Discussion started by: prsam
1 Replies
4. UNIX for Dummies Questions & Answers
Hello all,
Can anyone help with the following? :)
I have file1 with 150,000 words in a list and file2 with 148,000 words in a list - all of which are in file1. I want to create a new file with the words that DO NOT match (i.e of 2000 words). I have done this very simple command , which is... (1 Reply)
Discussion started by: dr_sabz
1 Replies
5. Shell Programming and Scripting
Hi All,
I have a huge file, I need to two things from this file. I need to know the IP address or the hostname and second thing is the date&time.
The file looks like this and I need to get my data from this...
Trying...
Connected to 204.109.172.117.
Escape character is '^]'.
Fri... (4 Replies)
Discussion started by: samnyc
4 Replies
6. Shell Programming and Scripting
thanks for your reply.
but i'm not quite sure what your code is doing.
i may be using it wrong but i'm not getting what i'm supposed to get.
could you please elaborate?
thanks again, (6 Replies)
Discussion started by: kratos.
6 Replies
7. Shell Programming and Scripting
please reflect... since I am beginner and dont know what to do
---------- Post updated at 04:25 AM ---------- Previous update was at 04:19 AM ----------
I am aware that awk is programming language and sed is just a tool (however people created some games with it). thanks (2 Replies)
Discussion started by: c_lady
2 Replies
8. Shell Programming and Scripting
Good afternoon,
I am not trying to start a debate. Please don't take it that way. I'm not trying to make this a Perl versus Bash scripts thing.
I have been writing shell scripts for several years. I am not 100%, but I seem to get the job done. I would like to start focusing on spending... (11 Replies)
Discussion started by: brianjb
11 Replies
9. Shell Programming and Scripting
got a file as y.txt
1 abc,def,ghj
2 defj,abc.kdm,ijk
3 lmn,cbk,mno
4 tmp,tmop,abc,pkl
5 pri,chk,cbk,lmo
6 def,cbk.pro,abc.kdm
i want to search in the above file the key word like abc
looking for two outcomes by passing the parameter value as abc into function and the two outocmes are... (6 Replies)
Discussion started by: silgun
6 Replies
10. Shell Programming and Scripting
I am learning SED and just following the shell scripting book, i have trouble understanding the grep and sed statement,
Question : 1
__________
/opt/oracle/work/antony>cat teledir.txt
jai sharma 25853670
chanchal singhvi 9831545629
anil aggarwal 9830263298
shyam saksena 23217847
lalit... (7 Replies)
Discussion started by: Antony Ankrose
7 Replies
LEARN ABOUT OSX
img-window
img-window(n) img-window(n)
__________________________________________________________________________________________________________________________________________________
NAME
img-window - Img, Tk Windows (window)
SYNOPSIS
package require Tk
package require img::window ?1.3?
image create photo ?name? ?options?
_________________________________________________________________
DESCRIPTION
The package img::window is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its
own, via package require img::window.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image. More specifically img::window
extends Tk's photo image type.
The name of the new format handler is window.
This handler does not provide additional configuration options. This handler is special. Instead of reading or writing image data from a
file or string it allows the embedding of a Tk widget into the photo image. In other words, it takes a snapshot of the contents of a Tk
window.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in window format (option -data) is detected automatically. Image data is considered to be in the window format if the
value given to option -data is the name of an existing Tk window.
Note that the standard option -file is not supported by this handler.
[2] The format name window is recognized by the option -format.
SEE ALSO
img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-
tga, img-tiff, img-window, img-xbm, img-xpm
KEYWORDS
image handling, tk, window
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.net>
Img 1.3 img-window(n)