09-10-2009
You can do this easily in awk. Just save the value of the last field in a variable, and if it is still the same when you read the next line, do not print the last field.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am reading 'the design of the unix os' by Bach and I find the 'regular file structure' details with the 'direct and indirect blocks of the inode' difficult to understand.
Thanks (2 Replies)
Discussion started by: ramyar
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all
Is it possible to copy a structure of a directory only.
e.g.
I have a file with the following entries that is a result of a find :-
/dir1/dir2/file.dbf
/dir1/dir2/dir3/file1.dbf
/dir1/file.dbf
I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
Discussion started by: jhansrod
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to tar only the file structures in Unix.
I dont want to create the tar with the files in it.
I tried to use a find with type -d and xargs the tar. It still tar's the file. Can anybody can help in this?
Regards
Anand (1 Reply)
Discussion started by: Andysundar
1 Replies
4. Shell Programming and Scripting
Hi,
Is there a command that can help me to determain a unix file structure ?
Thanks (7 Replies)
Discussion started by: yoavbe
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to drop a column from a file. My .txt file having 20 columns first column as GroupBy column which is not necessery in further processing. So i need to create a new files without this column.
Please help how to do this?
Thanks,
Raamc :rolleyes: (4 Replies)
Discussion started by: Raamc
4 Replies
6. Programming
Hello Groups
I am trying to find out ways of comparing a value from a 'c' structure to a value in another 'C' structure. the 'C' structure can be a List or liked list as it contains lot many records.
if we loop it in both the structures it is going to consume time.
I am looking for a simple... (3 Replies)
Discussion started by: dhanamurthy
3 Replies
7. HP-UX
We've just moved to a new iTanium development system at my place of business, as the previous one is going to be diverted to other uses. Our product uses a locally produced library built from over 2,300 C++ sources.
We just noticed that our libraries are 2/3s smaller on the new system than they... (1 Reply)
Discussion started by: Mark F. Cook
1 Replies
8. Programming
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies
9. Red Hat
Hi guys,
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also... (1 Reply)
Discussion started by: rockf1bull
1 Replies
10. HP-UX
Hi
I need to ftp the whole file structure from various unix servers to a windows server
I have a sub script for each machine and am using
ftp -is:../%name%_prog.bat -i %server% on the windows side.
The problem then comes with the mget command
it gets all the files , but puts them in one... (4 Replies)
Discussion started by: madmacher
4 Replies
ASCII(7) Linux Programmer's Manual ASCII(7)
NAME
ascii - the ASCII character set encoded in octal, decimal, and hexadecimal
DESCRIPTION
ASCII is the American Standard Code for Information Interchange. It is a 7-bit code. Many 8-bit codes (such as ISO 8859-1, the Linux
default character set) contain ASCII as their lower half. The international counterpart of ASCII is known as ISO 646.
The following table contains the 128 ASCII characters.
C program 'X' escapes are noted.
Oct Dec Hex Char Oct Dec Hex Char
------------------------------------------------------------------------
000 0 00 NUL '