Search Results

Search: Posts Made By: atlantis
7,131
Posted By atlantis
Great! it worked thanks for the suggestion. ...
Great! it worked thanks for the suggestion.

Cheers...
7,131
Posted By atlantis
Sorry, I need 80 characters in a line,...
Sorry, I need 80 characters in a line, irrespective of the word length so that i want to bring the 81 character to the next line.

Is there any command other than fmt, or is there any options in...
7,131
Posted By atlantis
fmt command
Hello,

I have file which needs to be splitted into multiple line with each line holding 80 bytes.

Im using the fmt command as

fmt -w 80 {filename} > {out filename}

but getting the error...
8,493
Posted By atlantis
Hello, I got this command cal -3, when doing...
Hello,
I got this command cal -3, when doing google on the same.

NAME

cal - displays a calendar
SYNOPSIS

cal [-smjy13 ] [[ month ] year ]
DESCRIPTION

Cal displays a simple...
8,493
Posted By atlantis
Hi, Thanks for the quick reply with the...
Hi,

Thanks for the quick reply with the script. But I was asked to do that in a single command.

Thanks.
8,493
Posted By atlantis
cal command
Hello,

I wanted to display calender for the previou, current and next month in a single command...

I used the command cal -3 for this. But its throwing me a Bad Argument error.

I am using...
1,145
Posted By atlantis
Find command
Hello,

I wanted to find the files which has a particular word in its folders and sub folders

I am using the command
find . -print "TRUNCATION_FLG" */*/*

which is not helping me... please...
6,550
Posted By atlantis
Its not working even after adding the mentioned...
Its not working even after adding the mentioned line also. so my script looks like

#!/usr/dt/bin/dtksh
ls *prod* | sed "p;s/i_prod/t_test/" | xargs -n 2 echo mv > out1
6,550
Posted By atlantis
when i execute that command, its gives me the...
when i execute that command, its gives me the result as
HP-UX hpomt73e B.11.11 U 9000/800 1623329386 unlimited-user license.
6,550
Posted By atlantis
I dont know how to find the version of my OS. can...
I dont know how to find the version of my OS. can you tell me the command.
6,550
Posted By atlantis
Thanks for your reply, But when i used the...
Thanks for your reply, But when i used the command
ls *prod*|while read i; do mv "$i" "${i/i_prod/t_test}"; done

its giving me the error

"ksh: "${i/i_prod/t_test}": bad substitution"
...
6,550
Posted By atlantis
Shell script to rename a group of files
Hello,

I am having 1800 files in a directory with a specified format, like
amms_850o_prod.000003uNy
amms_850o_prod.000003u8x
amms_850o_prod.000003taP
amms_850o_prod.000003tKy...
2,794
Posted By atlantis
Call a mainframe program
Is it possible to call a mainframe program in UNIX script. I am using HP-UNIX. If so can any let me know the way to do it.
2,680
Posted By atlantis
Hi Franklin, I think I did not explain it...
Hi Franklin,

I think I did not explain it clearly in my previous post. Now for example consider the file2 content as

RMR*CO*206Z130004706B**199.93
NTE*OTH*ACCT#J-445-294-1748 366N...
2,680
Posted By atlantis
Hi Ahmed, nawk is not working here. I am...
Hi Ahmed,

nawk is not working here. I am using HP UNIX. Can you please suggest any other ways to do.

Thanks.

---------- Post updated at 04:12 AM ---------- Previous update was at 04:08 AM...
2,680
Posted By atlantis
Replacing some part of file
Hello,
I have two files, consider that as file1 and file2. Here file1 is the master file.
file1 will contain data like

GS*RA*071000013*102562451P*091130*0520*334052023*X*003050
ST*820*334052023...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 04:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy