I want to remove the first line of all files in a directory with .dat extension. Can any one help me on this with a small script. I want the file names to remain same .
you can use
or
to get 2nd line of file onwards. I leave it to you to do the rest. Try.
Hi All,
Working on AIX 5.3
we need to remove '^M' in each line of files.
could anyone please share such an experience would be appreciated.
Thanks for your time!
Regards, (9 Replies)
Hi everybody. Firstly, sorry for doing such a basic questions, but i have never worked with linux shells and at this moment i am trully desperated :d.
I have been checkin' another posts of this forum looking for different things for mixing them and get the solution to my problem, but i have not ... (2 Replies)
I have been trying to remove some improperly formatted lines of output from fortran code I have been using. The problem is that I have some singularities in the math for some points that causes an incorrectly large value to be reported that exceeds the normal formating set in the code resulting in... (2 Replies)
Hi
I have 3 files and I want to remove 1 line in each file. This line correposnds to the occurrence of a specific pattern
any idea how to do this in shell?
thx (4 Replies)
How to remove the first line from multiple files and use it as source to the jobs. Only at the runtime it should remove the first line not in the file . (1 Reply)
my files are as follows
fileA sepearated by tab /t
00 lieferungen
00 attractiop
01 done
02 forness
03 rasp
04 alwaysisng
04 funny
05 done1
fileB
funnymou120112
funnymou234470
mou3raspnhdhv
rddfgmoudone1438748
so all those record which are greater than 3 and which are not... (4 Replies)
Hi! I have been struggling with a large file that has stray end of line characters.
I am working on a Mac (Lion). I mention this only because I have been mucking around with fixing my problem using sed, and I have learned far more than I wanted to know about Unix and Mac eol characters.
I... (1 Reply)
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
TEST1_21062016
TEST2_02122015
TEST3_01032016
TEST4_01042016
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Discussion started by: humble_learner
11 Replies
LEARN ABOUT ULTRIX
rmdel
rmdel(1) General Commands Manual rmdel(1)Name
rmdel - remove a delta from an SCCS file
Syntax
rmdel -r files
Description
The command removes the delta specified by the SID from each named SCCS file. The delta to be removed must be the most recent delta in its
branch in the delta chain of each named SCCS file. In addition, the specified delta must not be that of a version being edited for the
purpose of making a delta, for example, if a p-file exists for the named SCCS file, the specified delta must not appear in any entry of
the p-file). For further information, see
If a directory is named, behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last com-
ponent of the path name does not begin with s.) and unreadable files are silently ignored. If - is given as the name, the standard input
is read and each line of the standard input is taken to be the name of an SCCS file to be processed. Non-SCCS files and unreadable files
are silently ignored.
Certain permissions are necessary to remove a delta. If you make a delta or own the file and directory, you can remove it.
Options-rSID Specifies the delta version number.
Diagnostics
Use for explanations.
Files
x-file For further information, see
z-file For further information see
See Alsodelta(1), get(1), help(1), prs(1), sccs(1), sccsfile(5)
Guide to the Source Code Control System
rmdel(1)