Search Results

Search: Posts Made By: karansachdeva
2,149
Posted By karansachdeva
It did not help...no output came while running...
It did not help...no output came while running the command on the input file
2,149
Posted By karansachdeva
I have created the below one:-- awk...
I have created the below one:--

awk '{sub(/^UNT\+[0-9]+/,"UNT+" c);print};/^UNH/,/^UNT/{if( index($0,"'"'"'") ){c++}}'

But it is not giving me the correct output.

Can someone please shed...
2,149
Posted By karansachdeva
AWK script to count and then replace
Hi All,

I am looking for a simple awk script which can count the segment delimeters of a file and then replace the count in the UNT segment.

For example i am showing the below instance of a...
5,743
Posted By karansachdeva
I am not sure whether these would work in my AIX...
I am not sure whether these would work in my AIX machine.

Thats why i am looking for a generalised solution using awk.

Can you please help me with that.

Thanks

Karan
5,743
Posted By karansachdeva
Can you please help me with an awk as it will...
Can you please help me with an awk as it will check the folder and if any file comes then it will check for the relevant value and change the root element...

I hope you got it. I need a...
5,743
Posted By karansachdeva
Hi Murphy, I believe this will work if the...
Hi Murphy,

I believe this will work if the XML file has elements after new lines what if it is one line XML file then grep wont work.

I am assuming i am not sure if i am right above.

Here...
5,743
Posted By karansachdeva
I am a newbie to Unix can you tell me how to use...
I am a newbie to Unix can you tell me how to use it in a awk script with the extension .awk???

Many thanks

Karan
5,743
Posted By karansachdeva
Hi All, I have a XML file which i want to...
Hi All,

I have a XML file which i want to search an element with two set of values in the PCDATA.
The element is CustomNoteTypeName and can have two values i.e. DBHA or DAKO.
If these two values...
5,743
Posted By karansachdeva
XML root element
Hi All

Can someone please help me with this awk to search an element in a XML file with a particular value and then change the root element.

Thanks & Regards
Karan
2,237
Posted By karansachdeva
That element can be anywhere in the data
That element can be anywhere in the data
2,237
Posted By karansachdeva
XML Awk : Urgent
Hi All,

I am a beginner to Unix. So would really appreciate if people out here can help me out.

I have a XML file which has a element <NoteData> in which two values DBHA and DAKO.

I need...
3,517
Posted By karansachdeva
it is giving me this error while running ...
it is giving me this error while running

date: 0551-402 Invalid character in date/time specification.
Usage: date [-u] [+"Field Descriptors"]
3,517
Posted By karansachdeva
Can someone please provide the solution with the...
Can someone please provide the solution with the find command
3,517
Posted By karansachdeva
Sorry for above confusion..i am not only just...
Sorry for above confusion..i am not only just looking for the file types ...i am also looking for the entire file name as well whichever file type it might be

Thanks

Karan
3,517
Posted By karansachdeva
Era, I checked with man find and its showing...
Era,

I checked with man find and its showing -atime as an option. Can you help with the Syntax for the above you mentioned.

I am looking for all file types which are not used since 1May, 2008...
3,517
Posted By karansachdeva
Thanks a very quick question on the above...i...
Thanks a very quick question on the above...i have a folder in which there are many type of file types...

I want to know which files were not used since 1 May, 2008.

Can you help me with...
3,517
Posted By karansachdeva
Check the Usability of files
Hi All,

I am in the process of collecting data which i need for further analysis and taking necessary actions.

Can i check when a certain file was used last time.

How can i differentiate...
2,403
Posted By karansachdeva
It gave an output file of size 0 KB...i didnt...
It gave an output file of size 0 KB...i didnt understand y
53,254
Posted By karansachdeva
Era, This command is showing the file names...
Era,

This command is showing the file names in the directory as well..

Is it not possible just to list the directory names and the sub directores ..

Thanks

Karan
2,403
Posted By karansachdeva
XRI01IFTMIN AGFA ...
XRI01IFTMIN AGFA AGFADKCPH

In the above line i want to take the value from 49 position to 17 characters.

All the files in the folder start with XRI01 as shown...
2,403
Posted By karansachdeva
it didnt give me any output...can i redirect the...
it didnt give me any output...can i redirect the output to a file??? on the Unix box
2,403
Posted By karansachdeva
17 characters starting at position 49.
17 characters starting at position 49.
53,254
Posted By karansachdeva
Listing directories and subdirectories
How can list the directories and the subdirectories in a folder. It is possible with a single UNIX command.

For example i have a folder named "archive" and another folder named "0808" and then...
2,403
Posted By karansachdeva
For example I have a folder "archive" in it...
For example

I have a folder "archive" in it i have a folder 0808 and 0809.

Then I have a folder arc_transferred in both of them.

Then multiple folders are there in arc_transferred.

I...
2,403
Posted By karansachdeva
Looking for a Script
Hi All,

I have a small requirement in which i need to search for specific folders and bring out the file names in those folder and also the line 1 characters 49 to 17.

It is possible to do...
Showing results 1 to 25 of 39

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