Summary: Hello, I have to split a fil in several parts. I need to cut it in blocks delimited by 2 particular lines. What is the best tool to do that ? (or can ...
Summary: Hi, I am trying to split a file which has fixed 10 rows into two files in PERL. The first 5 rows into fileA and the last five rows into fileB. I have ...
Summary: Hi, I will have to split a 4 MB file into four 1 MB files. But the problem here is the first line is a header and the last line is a trailer. In betwe...
Summary: While playing around with other commands, I managed to create a file named -l. when I do rm -l, of course it thinks that -l is an argument. I can't f...
Summary: Hi, I am trying to read a file which has two fields i.e tab seperated. Each line has an OldImage Name and a NewImage Name. Can anyone help me to write...
Summary: i want to replace a file in .zip file in AIX5.3 machine; say i have file script.ksh file and a build.zip file which contains older version of script.k...
Summary: Sun sparc: what's the command to find a file say oratav, that would search in all directories and subdirectories from my home directory, thanks in...
Summary: Hi, How to parse a file that has more than 199 columns. 'awk' fails when line is having more than 199 fields. Is there a way to resolve this...what ...
Summary: I like to rename a file based on the first line. Here is an example of what I need to do. File: 034568.dat has 2000 lines with first line as HIOSPAD23...
Summary: I am having a problem creating a file called -bas. Have you tried something like this: rm ./*bas Maybe this discussion removing a - file will help: T...
Summary: I think you want to use the csplit command which splits a file based on regular expressions. Take a look at these links: http://www.computing.net/uni...
Summary: I have got a file BeforeSort.txt having 40 fields seperated by "|" First field= RecordType (Value will be P or FP) Second field= CamCode Third field ...
Summary: Hi guys this my sample file sample.ksh DBUID=testdatabase DBLOC=wm4r2 i want replace DBUID=testdatabase by DBUID=$myvariable (i.e myvariable=arundata...
Summary: i want to open a file automatically (not by using vi) (ex. from another file) insert few characters at say 12th position to 15th position and save it ...
Summary: #!/bin/ksh touch XX # The cat command is unecessary. # You can also use: # >XX Set up your script to run from cron. If you want to create a new fil...
Summary: Hi all, I am a real beginner to shell scripting and would REALLY appreciate if anyone out there can give some suggestions on how I can solve the follo...
Summary: Hi, I want to get the second field from a file (report.txt)like this: $ cat report.txt SheetName|RecordName|FieldName|TableName|ColumnName|Change Summ...
Summary: newbie here, Need some help in getting Unix to run a script to grab a file from an NT box. Thanks in advance and I hope I've provided pertinent info....
Summary: Hi, I would like to attach a report file to the mail that I send using unix mail command (/usr/ucb/mail). Is that possible with unix mail. I am workin...
Summary: I need to sort an input file that the user can specify. 1: Ask the user for the name of the file 2: Verify that the file exists and is readable 3: is...
Summary: Hello, I tried to create a tar file in zip format as following:- [thomas@localhost assignment_3]$ tar -cvfz ass3.tgz * tar: ass3.tgz: Cannot stat: No ...