I have number of csv files (like tmo_2019*). In these files some files have 5th column value as V. I want to copy those files having 5th column value as V to specific directory /test/V_files/.
I tried to extract file names by below but not able to complete command for copy.
How to complete command to copy these files having 5th column value as V.
Hi guys,
I want to use a quick one liner that can copy an entire column, and add it to a new file as another column. I've tried using cat, but that only appends my column to the bottom of the file.
So now, my first file(file1) looks like this:
1995060101 8
1995060102 6
1995060102... (1 Reply)
Hi i have a file (file1)with this content:
1.2.3.10.in-addr.arpa
and a second file (file2) with a content wich have 8 Columns
if a do a
awk '{print $8}' file2
i become this output:
,'10.3.2.1.',
So i want to replace only the 10.3.2.1. in file2 (column 8) with the information... (8 Replies)
Hi friends,
My file is like:
Second file is :
I need to print the rows present in file one, but in order present in second file....I used
while read gh;do
awk ' $1=="' $gh'" {print >> FILENAME"output"} ' cat listoffirstfile
done < secondfile
but the output I am... (14 Replies)
Please help me. This is simple, but urgent problem for me. :(
I have a two files
file1
1 2 3 4 5 6
1 2 3 4 5 6
1 2 3 4 5 6
.....
file2
11 12 13 14 15
11 12 13 14 15
11 12 13 14 15
.....
1) I hope to make a new file, file 3, that consists of 2nd... (2 Replies)
Hi All,
I have a fixedwidth file of length 3000. Now i want to copy a column of 4 chars i.e( length 1678-1681) to column 1127 – 1171 to the same file.
Please let me know how can i achive using a single command in fixed width file.
Also source column length is 4 chars and target column length... (4 Replies)
HI
I have input file A.txt
X
Y
Z
File B.txt
1 X 10 AAA 11123
2 Y 22 PlD 4563
3 Z 55 PlD 54645
4 Z 66 PlD 15698
5 F 44 PlD 154798
6 C 55 PlD 12554
7 Z 88 PlD 23265
8 C 99 PlD 151654
9 C 11 PlD 21546546
I need New File C.txt (1 Reply)
#cat data.txt
file1 folder1
file2 thisforfile2
file3 thisfolderforfile3
lata4 folder4
step 1: create the folder first in column 2
for i in `awk '{print $2}' data.txt`
do
mkdir /home/data/$i
done
step 2: locate the files in column1 and stored them into a file
for i in... (17 Replies)
Dear UNIX experts,
I'm a command line novice working on a Macintosh computer (Bash shell) and have neither found advice that is pertinent to my problem on the internet nor in this forum.
I have hundreds of .csv files in a directory. Now I would like to copy the subset of files that contains... (8 Replies)
I have data of an excel files as given below,
file1
org1_1 1 1 2.5 100
org1_2 1 2 5.5 98
org1_3 1 3 7.2 88
file2
org2_1 1 1 2.5 100
org2_2 1 2 5.5 56
org2_3 1 3 7.2 70
I have multiple excel files as above shown.
I have to copy column 1, column 4 and paste into a new excel file as... (26 Replies)
Discussion started by: dineshkumarsrk
26 Replies
LEARN ABOUT DEBIAN
gst-package
GST-PACKAGE(1) User Commands GST-PACKAGE(1)NAME
gst-package - create and install GNU Smalltalk .star package files
DESCRIPTION
Usage:
gst-package [OPTION]... ARGS...
Operation modes:
--install
make or install STAR packages (default)
--uninstall
remove the packages mentioned in the FILES
--dist copy files instead of creating STAR files.
--prepare
create configure.ac or Makefile.am
--list-files PKG
just output the list of files in the package
--list-packages
just output the list of packages in the files
--download, --update
download package from smalltalk.gnu.org or from its specified URL
--help display this message and exit
--version
print version information and exit
Common suboptions:
-n, --dry-run
print commands without running them
--srcdir DIR
look for non-built files in directory DIR
--distdir DIR
for --dist, place files in directory DIR
--destdir DIR
prefix the destination directory with DIR
--target-directory DIR
install the files in DIR (unused for --dist)
-I, --image-file=FILE
load into the specified image
--kernel-dir=PATH
use the specified kernel directory
-v, --verbose
print extra information while processing
--install suboptions:
--test run unit tests after merging
--load also load the Smalltalk files in the image
--list-files suboptions:
--load only list files that are filed in when loading
--test with --load, also include unit test files
--vpath
Omit path to srcdir for files that are there
--dist suboptions:
--all-files
Process all files, not just non-built ones
--copy Do not create symbolic links
All operation modes except --download (or its synonym --update) accept paths to package.xml files or .star files, including remote URLs.
--download and --update accept names of packages, which will be searched in the current system or on smalltalk.gnu.org) or URLs to pack-
age.xml or .star files.
Except in uninstall and list files mode, gst-package requires write access to the GNU Smalltalk image directory, and merges the XML package
files on the command line with that file.
The default target directory is /build/buildd-gnu-smalltalk_3.2.4-2-amd64-LVoFQd/gnu-smalltalk-3.2.4
SEE ALSO
The full documentation for gst-package is maintained as a Texinfo manual. If the info and gst-package programs are properly installed at
your site, the command
info gst
should give you access to the complete manual.
gst-package version 3.2.4 December 2011 GST-PACKAGE(1)