08-04-2008
broli: it's the same as quoting; it only prevents interpretation by the shell.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a file called Cleaner1.log . This files have some blank lines also.My requirement is that it should ignore the blank lines and give me the lines that contain some data.
I m using this logic in a script:
below the contents of file :
Maximum Time Taken for Processing(Failed) RR... (4 Replies)
Discussion started by: ali560045
4 Replies
2. Shell Programming and Scripting
Hi,
sumdays before i had posted a query with same subject.
i got sum great help from great ppl which solved my problem then.
But now there is a small problem with the code that i need the experts help upon.
for parsing a text
like this
where $ had been the delimiter between... (3 Replies)
Discussion started by: suresh_kb211
3 Replies
3. Shell Programming and Scripting
HI,
command to cat a readable file by ignoring the first line and last line
or command to cat a readable file by ignoring the lines with delimiter
Please advise on this. (2 Replies)
Discussion started by: thelakbe
2 Replies
4. Shell Programming and Scripting
Dear Friends,
I want to decrypt 2 different file types in a folder (ZIP files and GPG files).
Each file type need different decryption syntex.
Hence, the script should identify file type and should act accordingly ignoring file name case i.e. upper or lower case.
Also, the extention can be... (6 Replies)
Discussion started by: anushree.a
6 Replies
5. Shell Programming and Scripting
Hi guys
I have two file which I sdiff.
ie
file 1: AA,12,34,56,,789,101,,6666
file 2: AA,12,34,56,,789,101,,7777
The last comma separated value will always change from one day to the next.
Is there another unix utility I can use that will sdiff two files but ignore the last comma... (1 Reply)
Discussion started by: wny201
1 Replies
6. Shell Programming and Scripting
Hi all,
Given a file name such as
EXAMPLE=lastname-02.30.71-firstname-town-other.tar.gz
How do I print everything before the first dash (i.e. lastname)
Note: I do not know exactly how many dashes or what information there will be in each file name so it is important that the code... (2 Replies)
Discussion started by: bashnewbee
2 Replies
7. Shell Programming and Scripting
Hello,
I have a requirement to ignore few lines in a file before keyword FILEHEADER . As soon as there is keyword FILEHEADER is identified in file , it will form another file with data from FILEHEADER to whatever in file after FILEHEADER.
I wrote
filename=$1
awk... (4 Replies)
Discussion started by: callmatkarna
4 Replies
8. UNIX for Dummies Questions & Answers
How do you write a script to ignore all lines except the --- dash lines and then remove --- dashes from the data in a text file?
Also how do you separate data in a text file with a tab (for example, column1 (software) and column2 (date) ) ?
Here is my scripts : I am getting errors in... (3 Replies)
Discussion started by: dellanicholson
3 Replies
9. Shell Programming and Scripting
Well, guys I saw a question about GOTO for Python.
So this gave me the inspiration to attempt a GOTO function for 'dash', (bash and ksh too).
Machine: MBP OSX 10.14.3, default bash terminal, calling '#!/usr/local/bin/dash'...
This is purely a fun project to see if it is possible in PURE... (3 Replies)
Discussion started by: wisecracker
3 Replies
MIWM(1) General Commands Manual MIWM(1)
NAME
miwm - a minimal appearance, full-function window manager
SYNOPSIS
miwm
DESCRIPTION
MIWM is Ben Wise's MInimal Window Manager. It is pronounced 'my whim'.
The goal of miwm is to be a fully functional window manager, while retaining a very spare (Zen or Spartan, as you please) appearance and
command-set.
WARNING
This man page is VERY MUCH under construction. It is not complete, and blatantly contains leftover pieces of the man page I used as a tem-
plate. Do not rely on anything you find here.
COMMANDS
The notation for describing commands is that Mouse-1-frame means 'button 1 click on frame', C-Mouse-3-root means 'control button 3 click on
root',
Mouse-1-frame
Raise.
Mouse-2-frame
Move. Mouse-2-root Select virtual workspace.
Mouse-3-frame
Hide.
Filenames passed to
miwm can be directories or deleted files. If a directory that is not deleted is passed to miwm, then the deleted files or directo-
ries in it will be restored; if the recursive option is specified, then all deleted files or directories in any of its children will
be restored as well.
The shell wildcards * and ?, as well as shell brace notation using [ and ], are interpreted correctly by miwm. It is possible to pass
wildcards to the program without the wildcards being intercepted by the shell by setting noglob (in csh) or by quoting the wildcards. To
delete a file that actually has a wildcard in its name, you must precede the quoted wildcard with a quoted backslash.
If no files are specified on the command line, miwm goes into interactive mode. In interactive mode, the user is prompted to enter files
to be restored, one file per line. Typing a carriage return on an empty prompt line exits the program.
Wildcards and quoting backslashes can be entered directly at the prompt without any shell interference (which is the main reason there is
an interactive mode).
OPTIONS
Miwm No command-line options.
KNOWN BUGS
The code is too complicated. No icon support.
SEE ALSO
9wm(1), aewm(1)
AUTHOR
Ben Paul Wise
RESTRICTIONS
Copyright (c) 1998-2003 by Ben Paul Wise. All rights reserved. MIWM(1) specifies the terms and conditions for redistribution.
Ben Paul Wise 06 May 2003 MIWM(1)