Search Results

Search: Posts Made By: rac
1,077
Posted By rac
Hello Friends, I appreciate your help But...
Hello Friends,

I appreciate your help But lets say, I have the given set of files (listed above)
if these 3 positions are considered as aa, bb, cc then
say aa=AN
bb= any
cc <> EX

I have...
1,077
Posted By rac
Pick up files to process using ls command
Hello All,

I have a list of files as below
---------
FORM_PTIR_9484_ANFDOP_20150716_00263059.DAT
FORM_PTIR_9484_TIFDOP_20150716_00263059.DAT
FORM_PTIR_9484_EXFDOP_20150716_00263059.DAT...
3,713
Posted By rac
Thanks buddy ! Honestly I know this is getting...
Thanks buddy ! Honestly I know this is getting messy. I would let you know as soon as I have the complete info. Till now, I have asked what I knew of.

---------- Post updated at 04:59 AM...
3,713
Posted By rac
Dear Friends, Thanks. maybe my previous...
Dear Friends,

Thanks. maybe my previous post was not up to the mark to explain what is required.

My current directory is like, below
----------------------------...
3,713
Posted By rac
Hello Guys, Thanks a lot for your help. ...
Hello Guys,
Thanks a lot for your help.
However I have a new question now.
My file will be of type
FORM_PTIR_9820_ANFDOP_20150716_00413561.DAT
FORM_PTIR_9820_ANFDOP_20150716_00413561.DAT.SKIP...
3,713
Posted By rac
Using ls command
Dear All,

I will be having the below files in a directory.
FORM_9757_TYUIOP_1.DAT
FORM_9840_OPRTOP_2.DAT
FORM_9757_TIRTOP_3.DAT


So, from the directory, I have to find only those file...
1,022
Posted By rac
lock on files
Hi,
I want to write a code where in the file once taken genrates a lock number and other developer/user cannot take the file to make any changes in it. He gets the file only as read only.
1,277
Posted By rac
I have attached the screenshot. Thanks for your...
I have attached the screenshot. Thanks for your previous suggestion but I believe it is only applicable to Vim in GUI (gVim). My requirement is of terminal.
The basic idea behind the screenshot is...
1,277
Posted By rac
NO, I am unaware of how to set the different...
NO, I am unaware of how to set the different scheme in this. I need guidance for that.
1,277
Posted By rac
FONT colours
Hi,
I have set the following piece of code in .vimrc file.

================================================
if has("terminfo")
let &t_Co=16
let...
1,086
Posted By rac
Difference in file 1 and file 2...output in file 3
Hi,
I have one file named abc.pc which is at
/rac/base

i have made the changes in abc.pc and have kept at
/rac/src

i have one path called as
/rac/diff

:/rac/diff --> i want to run...
5,913
Posted By rac
Now how do i add if else condition in awk? Say...
Now how do i add if else condition in awk?
Say when the character count is 7, we say, "correct count" rather than displaying nothing in the message section. I have tries but something is getting...
5,289
Posted By rac
Print (echo) variable in a single line
Hi,
I have written this code
------------------------------------------------
# !/bin/ksh
i=0
while [ $i -ne 10 ]
do
j=$i
while [ $j -ge 0 ]
do
echo -e $j
#printf "%d",$j
...
5,913
Posted By rac
[QUOTE=ygemici;302612983]# cat file xyz a ...
[QUOTE=ygemici;302612983]# cat file
xyz
a
ab
abc
abcd
abcde
abcdef
abcdefg
abcdefgh
123


# sed '1d;$d' file|awk 'BEGIN{printf "%s%10s\n","LNR","fcount"}{printf...
5,913
Posted By rac
My input file
My input file will something like this--> say test.txt

text.txt
-----------------------
xyz --> I do not want to consider this line (1st)
a
ab
abc
abcd
abcde
abcdef
abcdefg
abcdefgh...
5,913
Posted By rac
thnx ..... but still...in general if i want to...
thnx .....
but still...in general if i want to store the values of variables in a log file, how can i do it..?
My desired output in the log file

-----------------------------------
Line num ...
5,913
Posted By rac
thnx a lot dipak. ur words are true buti would...
thnx a lot dipak. ur words are true buti would appreciate if you give me the answer as well(if you know).
5,913
Posted By rac
Thnx a ton !! it worked :) :) ----------...
Thnx a ton !! it worked :) :)

---------- Post updated at 01:11 AM ---------- Previous update was at 01:04 AM ----------

Now, with the same file, if I want to store the values of variable...
5,913
Posted By rac
How to read the user inputted file name?
hello,
I have prepared a script

------------------------------------------------
#!/bin/sh
cat test.txt| sed '1d' | sed '$d' > /tmp/tmp1.txt
while read line
do
typeset -i count=`echo...
Showing results 1 to 19 of 19

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