02-03-2013
Interesting, ok thank you guys.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I wonder if any body can help me with a command i am struggling with. I have a file with around 400 lines in, in a program i have it pulls out each line at a time so that data from the line can be cross referenced with another file. If it finds a match it pulls out a ocde from the second file, this... (5 Replies)
Discussion started by: mariner
5 Replies
2. Shell Programming and Scripting
I'm attempting to create a Perl script that will:
Take the contents of the usernames.tmp file
(usernames.tmp is created from an awk one-liner ran against /etc/passwd)
Take one line at a time and pass it to the su command as a users name.
This should go on until there is no more name to... (10 Replies)
Discussion started by: bru
10 Replies
3. Shell Programming and Scripting
Problem with Paste command :)
Hi All,
i need small suggestion in my below script...
i have output in .txt format like below
file1.txt
01111111
02222222
03333333
file2.txt
230125
000012
000002
now i want to merge both the file in xls or csv formate
now i am using the below... (2 Replies)
Discussion started by: Shahul
2 Replies
4. Shell Programming and Scripting
Hi Unix gurus
I have a file containing 2 coloumns. I would like to do a script which reads the lines and executes a command like this:
command <field1> parameters <field2> some more parameters
Please let me know how you would do this without AWK, SED or any other mini language (for special... (5 Replies)
Discussion started by: BearCheese
5 Replies
5. UNIX for Dummies Questions & Answers
input1
15 150
input2
x 10 100
input3
y 20 200
z 34 44
cmd
paste -d "\t" input1 input2 input3 >>output
output (1 Reply)
Discussion started by: repinementer
1 Replies
6. Shell Programming and Scripting
I have a file which contains 3 fields separated by tabs example
andrew kid baker
I need to swap kid and baker using cut and paste commands how is this to be done?
Thanks (3 Replies)
Discussion started by: drew211
3 Replies
7. Shell Programming and Scripting
Hello. I've made a simple script which asks the user to input a hash and then runs a command that replaces the variable $hash with what the user inserted. The ting is that when the programm asks for input I can't paste anything there..! any clues?? :wall: (8 Replies)
Discussion started by: louboulos
8 Replies
8. Shell Programming and Scripting
Hi,
I want to use paste command in a loop that does it every 6 files. My sample files are like the ones below.
20010101.txt 20010106.txt 20010111.txt
20010116.txt 20010121.txt 20010126.txt
20010131.txt 20010205.txt 20010210.txt
20010215.txt 20010220.txt 20010225.txt
20010302.txt... (4 Replies)
Discussion started by: ida1215
4 Replies
9. Shell Programming and Scripting
there are lot of files where in mostly all the file contains 2columnsAl,1
Ail,13
Al,3
Al,1
Al,3
Al,2
Al,3
Al,1
Al,1
Al,1
My requirement is i wanted only the second column of every file as a column ony in the base file... I used paste command... but it is not helping as I'm using while... (7 Replies)
Discussion started by: nikhil jain
7 Replies
10. Shell Programming and Scripting
Hai ,
When i use paste command in command prompt its giving expected output but not in the script. Below is the example.
$cat file
1
2
3
$cat file1
4
5
6
$paste -d ':' file file1
1:4
2:5
3:6
but when i used the same command in script its giving the output as below :
1
2
3 (3 Replies)
Discussion started by: Subbu123
3 Replies
ftjam(1) General Commands Manual ftjam(1)
NAME
Jam/MR -- Make(1) Redux
SYNOPSIS
ftjam [-a] [-g] [-n] [-q] [-v] [-d debug] [-f jambase] [-j jobs] [-o actionsfile] [-s var=value] [-t target] [target ...]
DESCRIPTION
Jam is a program construction tool, like make(1).
Jam recursively builds target files from source files, using dependency information and updating actions expressed in the Jambase file,
which is written in jam's own interpreted language. The default Jambase is compiled into jam and provides a boilerplate for common use,
relying on a user-provide file "Jamfile" to enumerate actual targets and sources.
OPTIONS
-a Build all targets anyway, even if they are up-to-date.
-d n Enable cummulative debugging levels from 1 to n. Interesting values are:
1
Show actions (the default)
2
Show "quiet" actions and display all action text
3
Show dependency analysis, and target/source timestamps/paths
4
Show shell arguments
5
Show rule invocations and variable expansions
6
Show directory/header file/archive scans
7
Show variable settings
8
Show variable fetches
9
Show variable manipulation, scanner tokens
-d +n Enable debugging level n.
-d 0 Turn off all debugging levels. Only errors are not suppressed.
-f jambase
Read jambase instead of using the built-in Jambase. Only one -f flag is permitted, but the jambase may explicitly include other
files.
-g Build targets with the newest sources first, rather than in the order of appearance in the Jambase/Jamfiles.
-j n Run up to n shell commands concurrently (UNIX and NT only). The default is 1.
-n Don't actually execute the updating actions, but do everything else. This changes the debug level default to -d2.
-o file Write the updating actions to the specified file instead of running them (or outputting them, as on the Mac).
-q Quit quickly (as if an interrupt was received) as soon as any target build fails.
-s var=value
Set the variable var to value, overriding both internal variables and variables imported from the environment.
-t target Rebuild target and everything that depends on it, even if it is up-to-date.
-v Print the version of ftjam and exit.
SEE ALSO
ftjam is documented fully in HTML pages available on Debian systems from /usr/share/doc/ftjam/Jam.html.
AUTHOR
This manual page was created by Yann Dirson dirson@debian.org from the Jam.html documentation, for the Debian GNU/Linux system (but may be
used by others).
ftjam(1)