01-21-2008
actually, I want the output appear like this:
a:work:apple1
b:baby:banana2
c:candy:cat3
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Thanks for your help in advance
I am parsing a log file where the first field of each line can have the same key value but not more than 3 times in a row. Varying value of that first field changes as you go through the log but it either appears 3 times or two and sometimes only once.... (1 Reply)
Discussion started by: dragrid
1 Replies
2. Shell Programming and Scripting
Hi,
I want to get script or command in Sun Unix which matches first fields of both the files and print the feilds of one files, example may make it more clear.
InputFile1
==================
Alex,1,fgh
Menthos,45454,toto
Gothica,855,ee
Zenie4,77,gg
Salvatore,66,oo
Dhin,1234,papapa... (3 Replies)
Discussion started by: indian.ace
3 Replies
3. Shell Programming and Scripting
Hello,
I have two files that have the date field as a common. I request your help with some script that divide the value of the file1 by the value in the file2 only when the field date are the same between both files and create a new text file.
This is a sample of the files
file1... (1 Reply)
Discussion started by: csierra
1 Replies
4. Shell Programming and Scripting
First, thanks for the help in previous posts... couldn't have gotten where I am now without it!
So here is what I have, I use AWK to match $1 and $2 as 1 string in file1 to $1 and $2 as 1 string in file2. Now I'm wondering if I can extend this AWK command to incorporate the following:
If $1... (4 Replies)
Discussion started by: right_coaster
4 Replies
5. UNIX for Dummies Questions & Answers
Hi !
I have a tab-delimited file, file.tab:
Column1 Column2 Column3
aaaaaaaaaa bbtomatoesbbbbbb cccccccccc
ddddddddd eeeeappleseeeeeeeee ffffffffffffff
ggggggggg hhhhhhtomatoeshhh iiiiiiiiiiiiiiii
... (18 Replies)
Discussion started by: lucasvs
18 Replies
6. Shell Programming and Scripting
hello,
i have a little problem, i want match the complete field ($1 or $2) with a complete word in another variable.
example:
i have a file with either one or two words per lane:
hsa-mir-4449
hsa-mir-4707
hsa-mir-4707* hsa-mir-4707
novelMiR_3551 novelMiR_3563
novelMiR_4330... (4 Replies)
Discussion started by: ace13
4 Replies
7. Shell Programming and Scripting
Hi,
I have a file of csv data, which looks like this:
file1:
1AA,LGV_PONCEY_LES_ATHEE,1,\N,1,00020460E1,0,\N,\N,\N,\N,2,00.22335321,0.00466628
2BB,LES_POUGES_ASF,\N,200,200,00006298G1,0,\N,\N,\N,\N,1,00.30887539,0.00050312... (10 Replies)
Discussion started by: djoseph
10 Replies
8. Shell Programming and Scripting
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
9. Shell Programming and Scripting
In the awk below I use $2 of filet to search filea for a match. If the values in $2 are exact match this works great. However, that is not always the case, so I need to perform the search using a range of + or - 2. That is if the value in filea $2 is within + or - 2 of filet $2 then it is matched.... (6 Replies)
Discussion started by: cmccabe
6 Replies
10. Shell Programming and Scripting
I am trying to look for $2 of file1 (skipping the header) in $2 of file2 (skipping the header) and if they match and the value in $10 is > 30 and $11 is > 49, then print the line from file1 to a output file. If no match is foung the line is not printed. Both the input and output are tab-delimited.... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT DEBIAN
wolf4sdl-sdm
WOLF4SDL(6) Wolf4SDL WOLF4SDL(6)
NAME
wolf4sdl - An open-source port of id Software's classic first-person shooter
SYNOPSIS
wolf4sdl [options]
wolf4sdl-wl6 [options]
wolf4sdl-wl6a [options]
wolf4sdl-wl1 [options]
wolf4sdl-sod [options]
wolf4sdl-sdm [options]
DESCRIPTION
Wolf4SDL is an open-source port of id Software's classic first-person shooter Wolfenstein 3D to the cross-plattform multimedia library Sim-
ple DirectMedia Layer (SDL) (http://www.libsdl.org). It is meant to keep the original feel while taking advantage of some improvements.
The wolf4sdl-wl6, wolf4sdl-wl6a, wolf4sdl-wl1, wolf4sdl-sod and wolf4sdl-sdm binaries start the Wolf3d Full v1.4 GT/ID/Activision, Wolf3d
Full v1.4 Apogee (with ReadThis), Wolf3d Shareware v1.4, Spear of Destiny Full and Mission Disks and Spear of Destiny Demo games, respec-
tively. The wolf4sdl binary is a symbolic link to one of these and is handled via Debian's update-alternatives mechanism.
OPTIONS
--help This help page
--tedlevel <level>
Starts the game in the given level
--baby Sets the difficulty to baby for tedlevel
--easy Sets the difficulty to easy for tedlevel
--normal
Sets the difficulty to normal for tedlevel
--hard Sets the difficulty to hard for tedlevel
--nowait
Skips intro screens
--windowed
Starts the game in a window
--res <width> <height>
Sets the screen resolution (must be multiple of 320x200 or 320x240)
--resf <w> <h>
Sets any screen resolution >= 320x200 (which may result in graphic errors)
--bits <b>
Sets the screen color depth (use this when you have palette/fading problems allowed: 8, 16, 24, 32, default: "best" depth)
--joystick <index>
Use the index-th joystick if available (-1 to disable joystick, default: 0)
--joystickhat <index>
Enables movement with the given coolie hat
--samplerate <rate>
Sets the sound sample rate (given in Hz, default: 44100)
--audiobuffer <size>
Sets the size of the audio buffer (-> sound latency) (given in bytes, default: 2048 / (44100 / samplerate))
--ignorenumchunks
Ignores the number of chunks in VGAHEAD.* (may be useful for some broken mods)
AUTHORS
Wolf4SDL v1.6 ($Revision: 232 $)
Ported by Chaos-Software (http://www.chaos-software.de.vu)
Original Wolfenstein 3D by id Software
This manual page was written by Fabian Greffrath <fabian+debian@greffrath.com> for the Debian project (but may be used by others).
1.6 December 2010 WOLF4SDL(6)