03-28-2017
Moderator's Comments:
|
|
Use code tags for code. Select the text then hit the button.
|
|
sed not working is really, really odd. I'd expect even a 'bad' awk to at least dump a literal backslash-n in there. Might your data have binary characters in it you're not seeing?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
Lets say I have 3 files a.txt and b.txt and c.txt.
a.txt has the following text
====================
apple is good for health
b.txt has the following text
====================
apple is pomme in french
c.txt has the following text
====================
orange has citric acid... (1 Reply)
Discussion started by: amjath78
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a .txt file
Sample:
=====================
NEXT HOST
=====================
AEADBAS001
ip access-list extended BLA_Incoming_Filter
ip access-list extended BLA_Outgoing_Filter
access-list 1 permit xxxxxxxxxxxxxx
access-list 2 permit xxxxxxxxxxxxxx
=====================... (4 Replies)
Discussion started by: I-1
4 Replies
3. AIX
Hi,
I am trying to find the content of file using grep and find command and list only the file names
but i am getting entire file list of files in the directory
find . -exec grep "test" {} \; -ls
Can anyone of you correct this (2 Replies)
Discussion started by: madhu_Jagarapu
2 Replies
4. Shell Programming and Scripting
Hi, I have a file called fl_list consists of files i have to archive. I want to create a exception parm called except_parm, so if it finds the directory it will not archive these files and remove from fl_list.
$ cat fl_list
/apps/dev/ihub/ready/IA003B/IA003B_Deal_Header_yyyymmdd_hhmmss.txt... (1 Reply)
Discussion started by: k9cheung
1 Replies
5. Shell Programming and Scripting
My input file:
>sequence_1
ASSSSSSSSSSSDDDDDDDDDDDCCCCCCC
ASDSFDFFDFDFFWERERERERFSDFESFSFD
>sequence_2
ASDFDFDFFDDFFDFDSFDSFDFSDFSDFDSFASDSADSADASD
ASDFFDFDFASFASFASFAFSFFSDASFASFASFAFS
>sequence_3
VEDFGSDGSDGSDGSDGSDGSDGSDG
dDFSDFSDFSDFSDFSDFSDFSDFSDF
SDGFDGSFDGSGSDGSDGSDGSDGSDG
My... (22 Replies)
Discussion started by: patrick87
22 Replies
6. Shell Programming and Scripting
hi buddies;
rollbackip.txt:10.14.3.65 2
10.14.3.65 3
...
lookup.txt:
...
10.14.3.65 2 10.14.5.55 1 55 10.14.6.66 1 66
10.14.3.65 3 10.14.7.77 3 77 10.14.8.88 2 88 10.14.9.99 4 99
...
ip-port.txt
...
port111 3 10.14.5.55 57
port111 2 10.14.5.55 51
port111 1 10.14.5.55 59 ->... (7 Replies)
Discussion started by: gc_sw
7 Replies
7. Shell Programming and Scripting
I have some users in one unix system and i want to search some files with specific to user and then i want to find some content inside that file so can u help me how we can implement it?
File location is as below.
/pools/home_unix/cmadireddy/work/models/model/
cmadireddy is user name.
now... (6 Replies)
Discussion started by: lathigara
6 Replies
8. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies
9. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as (7 Replies)
Discussion started by: manigrover
7 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
LEARN ABOUT DEBIAN
img-intro
img-intro(3tk) img-intro(3tk)
NAME
img-intro - Introduction to Img
SYNOPSIS
package require Tk
package require Img ?1.3?
DESCRIPTION
Img is a Tk extension, adding support for many other Image formats, as listed below. The individual formats are described in more detail on
their own pages.
bmp Windows bitmap format. See img-bmp.
gif The venerable graphics interchange format (with transparency, but without LZW. The latter due to patent issues). See img-gif.
ico Windows icon files. See img-ico.
jpeg The format for lossy compressed still pictures specified by the Joint Picture Experts Group. See img-jpeg.
pcx Paintbrush image format. See img-pcx.
pixmap While the other formats are handlers for the Tk photo image type this is a new image type for Tk. See img-pixmap.
png Portable Network Graphics, successor to GIF. See img-png.
ppm Portable Pixmaps. See img-ppm.
ps Postscript and PDF (Portable document format). Requires an external application, ghostview, for its operation. See img-ps.
sgi Native SGI format. See img-sgi.
sun Sun raster images. See img-sun.
tga Targa files. See img-tga.
tiff Tagged Interchange File Format. See img-tiff.
window ??? See img-window.
xbm X Bitmaps. See img-xbm.
xpm X Pixmaps. See img-xpm. This version only works with Tcl/Tk 8.2 or higher. If you are using Tk 8.1 or lower please stick with Img
1.2.4 (which is still available). And if you are using Tk4.2 or lower, please stick with Img 1.1.4 (which is also still available).
SEE ALSO
img-bmp, img-gif, img-ico, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img-window, img-
xbm, img-xpm
KEYWORDS
bmp, gif, ico, image handling, jpeg, pcx, pdf, pixmap, png, postscript, ppm, ps, sgi, sun, tga, tiff, tk, window, xbm, xpm
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-intro(3tk)