The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 7 of 7
Search took
0.00
seconds.
Search:
Posts Made By:
ruthless
Forum:
HP-UX
01-27-2006
5
How do I take out(remove) the date part in the file name?
16,579
Posted By
ruthless
The basic requirement
Hi Perderabo,
Thanks . You r right. That way the above command works fine.
But the problem is if I have more than one file in the input dir with the same name and with a different time stamp, ...
Forum:
HP-UX
01-27-2006
5
How do I take out(remove) the date part in the file name?
16,579
Posted By
ruthless
Hi Mahendra
Thanks for your valuable time.
I tried executing your command but it says the error as follows:
test.ksh
./test.ksh[3]: nawk: not found
Usage: mv [-f] [-i] [-e warn|force|ignore] f1 f2
...
Forum:
HP-UX
01-27-2006
5
How do I take out(remove) the date part in the file name?
16,579
Posted By
ruthless
How do I take out(remove) the date part in the file name?
Hi Guys here I am again,
I have two files in a specified location.
Location ex: /opt/xdm/input/
input file names: 1. abc_app.yyyymmdd.dtd
2. abd_app.yyyymmdd.dtd
I need to...
Forum:
HP-UX
01-20-2006
6
Add a column at the end of all the lines in a file
10,126
Posted By
ruthless
Hi,
Actually I did mistake while posting the code I was using. This is the code I am using. Only diff is there's no $ sign before "file".
#!/bin/ksh
file="/A/B/C/D/E/"mat.dtd
sed...
Forum:
HP-UX
01-20-2006
6
Add a column at the end of all the lines in a file
10,126
Posted By
ruthless
Hi Mona,
The exact script what I tested is
#!/bin/ksh
$file="/A/B/C/D/E/"mat.dtd
sed 's/^\(.*\)$/&\|D/' mat.dtd > $file_temp
mv "$file_temp" "xdm.dtd"
and the output I am getting is(as on the screen) ...
Forum:
HP-UX
01-19-2006
6
Add a column at the end of all the lines in a file
10,126
Posted By
ruthless
Hi Guys
Thank you very much for helping me.
Mona[COLOR=Blue] , I have couple of questions for you . When I append "|D" at the end of the line, does it replaces the "$" which is the end of the line or just...
Forum:
HP-UX
01-18-2006
6
Add a column at the end of all the lines in a file
10,126
Posted By
ruthless
Add a column at the end of all the lines in a file
Hi Guys, :D
I am very much new to UNIX. I dont have much basics of coding in UNIX, so please help me out of thi ssituation.
I have a file say for ex: ABC.dtd and it contains "|" delimited...
Showing results 1 to 7 of 7
Member Badges and Information Modal
×