10-05-2015
your commanline would produce a file of filenames in one colon...
How can it get overlapping?
Show us what you are doing so we can understand your issue or the content of filename...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I've had a daemon go a little bit mental and create directories using somments from a config file. The end result is I've ended up with directories with names such as #, 5625), (5725 etc etc etc...
However, when I try and delete them I get syntax errors, ( not expected,
rmdir #... (2 Replies)
Discussion started by: JWilliams
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
' recgrep find . | xargs grep ' is used to scan the contents recursively. I have a different requirement. I need to scan just the names and check for a pattern and display with fullpath. Is that already available? Closest that I am trying is 'ls -R | grep pattern' Here I would get multiple... (1 Reply)
Discussion started by: eagercyber
1 Replies
3. Shell Programming and Scripting
Greetings!
I have multiple files, one per subdirectory, all with the same file name. All subdirectories are one level deep from the main directory.
The data in the files is tab delimited between fields and record delimited with a newline.
The subdirectory names have the date in the... (5 Replies)
Discussion started by: vtischuk@yahoo.
5 Replies
4. Shell Programming and Scripting
I'm an experienced awk user, but this one has me stumped. I have an awk script which is called from a UNIX command line as you'd expect:
myscript.awk -v foo=$1 -v bar=$2 filename
My question is this: is there a mechanism for determining the names of the -v variables within a script?
... (3 Replies)
Discussion started by: John Mac
3 Replies
5. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
6. Shell Programming and Scripting
Hi,
i have a directory and sub directory`s inside.
i want to take all the files name and add them into array.
for example :
$ ls
Debug script.c src typescript
$
Array = Debug
Array= scripts.c
Array = src
Array = typescript.
Thanks for the help.
Or. (2 Replies)
Discussion started by: orushw
2 Replies
7. UNIX for Dummies Questions & Answers
Dear Gurus,
I have 57 tab-delimited different text files, each one containing entries in 3 columns. The first column in each file contains names of objects. Some names are present in more than one file. I would like to find those names and store them in a separate text file, preferably with a... (6 Replies)
Discussion started by: Unilearn
6 Replies
8. Shell Programming and Scripting
Hi Team,
I'm new to Unix shell scripting .
I've the following requirement
A folder contains the list of files with the following format
ab.name.11.first
ab.name.12.second
ab.name.13.third
----------
I have to rename the above file to like below
... (6 Replies)
Discussion started by: smile689
6 Replies
9. Shell Programming and Scripting
I have 2 files; file 1 having smaller positions that overlap with the positions with positions in file2.
file1
aaa 20 22 apple
aaa 18 25 banana
aaa 12 30 grapes
aaa 22 25 melon
file2
aaa 18 26 cdded
aaa 10 35 abcde
I want to get something like this
output
aaa 18 26 cdded banana... (4 Replies)
Discussion started by: anurupa777
4 Replies
10. Shell Programming and Scripting
file1
chr pos1 pos2 pos3 pos4
1)chr1 1000 2000 3000 4000
2)chr1 1380 1480 6800 7800
3)chr1 6700 7700 1200 2200
4)chr2 8500 9500 5670 6670
file2
chr pos1 pos2 pos3 pos4
1)chr2 8500 9500 5000 6000
2)chr1 6700 7700 1200 2200
3)chr1 1380 1480 6700 7700
4)chr1 1000 2000 4900 5900
I... (2 Replies)
Discussion started by: data_miner
2 Replies
LEARN ABOUT XFREE86
manpath
MANPATH(1) Manual pager utils MANPATH(1)
NAME
manpath - determine search path for manual pages
SYNOPSIS
manpath [-qgdc?V] [-m system[,...]] [-C file]
DESCRIPTION
If $MANPATH is set, manpath will simply display its contents and issue a warning. If not, manpath will determine a suitable manual page
hierarchy search path and display the results.
The colon-delimited path is determined using information gained from the man-db configuration file - (/etc/manpath.config) and the user's
environment.
OPTIONS
-q, --quiet
Do not issue warnings.
-d, --debug
Print debugging information.
-c, --catpath
Produce a catpath as opposed to a manpath. Once the manpath is determined, each path element is converted to its relative catpath.
-g, --global
Produce a manpath consisting of all paths named as `global' within the man-db configuration file.
-m system[,...], --systems=system[,...]
If this system has access to other operating system's manual hierarchies, this option can be used to include them in the output of
manpath. To include NewOS's manual page hierarchies use the option -m NewOS.
The system specified can be a combination of comma delimited operating system names. To include the native operating system's man-
ual page hierarchies, the system name man must be included in the argument string. This option will override the $SYSTEM environ-
ment variable.
-C file, --config-file=file
Use this user configuration file rather than the default of ~/.manpath.
-?, --help
Print a help message and exit.
--usage
Print a short usage message and exit.
-V, --version
Display version information.
ENVIRONMENT
MANPATH
If $MANPATH is set, manpath displays its value rather than determining it on the fly. If $MANPATH is prefixed by a colon, then the
value of the variable is appended to the list determined from the content of the configuration files. If the colon comes at the end
of the value in the variable, then the determined list is appended to the content of the variable. If the value of the variable
contains a double colon (::), then the determined list is inserted in the middle of the value, between the two colons.
SYSTEM If $SYSTEM is set, it will have the same effect as if it had been specified as the argument to the -m option.
FILES
/etc/manpath.config man-db configuration file.
SEE ALSO
apropos(1), man(1), whatis(1)
AUTHOR
Wilf. (G.Wilford@ee.surrey.ac.uk).
Fabrizio Polacco (fpolacco@debian.org).
Colin Watson (cjwatson@debian.org).
2.8.3 2018-04-05 MANPATH(1)