Search Results

Search: Posts Made By: sidnow
1,996
Posted By sidnow
Thanks for the reply, however this would insert...
Thanks for the reply, however this would insert one row and the different columns.

I have it as space delimited columns as the raw file
1,996
Posted By sidnow
Insert a column in the beginning
Hi, I have been trying to see how i can insert a column in the beginning to my html table

This is how it looks


Name Age
Sid 32
John 33
Mary 34


I want to insert a column...
3,515
Posted By sidnow
How should I do that? With the date command? The...
How should I do that? With the date command? The timestamps wont cross midnight, it begins from midnight until 23:59:59.xxx
3,515
Posted By sidnow
Subtract millisecond Timestamps with awk
Hello, am not able to subtract timestamps in milliseconds.

I extract the timestamp as a string, and then try to subtract the two, but since it is a string, system just outputs 0



awk -F","...
1,203
Posted By sidnow
The script connects to an API and gets the data....
The script connects to an API and gets the data. The data is returned in the output I provided.
1,203
Posted By sidnow
Parse output and then compare column wise with awk
Hello,

I am trying to write a script to parse the output of data and then alert based on certain conditions

This is the output of my script
(STRING) Name = Joe
(FLOAT64) BMI = 34
(FLOAT64)...
1,802
Posted By sidnow
Search string in multiple files and display column wise
I have 3 files. Each of those files have the same number of records, however certain records have different values. I would like to grep the field in ALL 3 files and display the output with only the...
1,937
Posted By sidnow
Need a script to parse data and output to csv
I am not too savvy with arrays and am assuming that what I am looking for needs arrays. This is my requirement.



So I have the raw data that gets updated to a log as shown below


...
5,928
Posted By sidnow
awk to delete content before and after a matched pattern
Hello,

I have been trying to write a script where I could get awk to delete data before and after a matched pattern.

For eg
Raw data

Start
NAME = John
Age = 35
Occupation = Programmer...
2,197
Posted By sidnow
Sure. My incomplete file gets truncated. ...
Sure.

My incomplete file gets truncated.

Only half the data is retrieved whereas on the sftp server, the entire file is present. I know that the entire file is present, because I compare the...
2,197
Posted By sidnow
I can view that via a UI setup to monitor the...
I can view that via a UI setup to monitor the same.
2,197
Posted By sidnow
Help with retrieving files via SFTP
I have a process which generates a file and places it on my sftp server

Then I connect to the sftp to retrieve the file. However for some reason, I keep getting an incomplete file.

These are...
1,089
Posted By sidnow
Thanks for the reply guys, however forgot to...
Thanks for the reply guys, however forgot to mention, the number of columns are dynamic. As in it will not be Name, Age, School always. It can Name, Age, School, some other field etc.

How can I...
1,089
Posted By sidnow
How to place Record in a row as a column name?
Hi,

I want to know how to place a particular field availble in a record as the columnname.


Name,Sam,Age,13,School, StJohn
Name,Rita,Age,12,School, StMichael,
Name,John,Age,14,School,...
1,698
Posted By sidnow
Worked like a charm ---------- Post updated...
Worked like a charm

---------- Post updated at 02:49 PM ---------- Previous update was at 02:49 PM ----------




This one too.Worked like a charm

---------- Post updated at 02:49 PM...
1,698
Posted By sidnow
How to use awk to output such a pattern?
Hi all,

I want to output the following pattern in a comma separted format, but am not able to do it.


Table1.FIND.Value= 124
Data
Data
Data
Data
Data
Table1.FIND.Value =256
Data
Data...
27,561
Posted By sidnow
Find common files between two directories
I have two directories
Dir 1
/home/sid/release1
Dir 2
/home/sid/release2

I want to find the common files between the two directories

Dir 1 files
/home/sid/release1>ls -lrt
total 16...
5,061
Posted By sidnow
Thanks cfajohnson. I didnt realize those...
Thanks cfajohnson. I didnt realize those scenarios with cat.
5,061
Posted By sidnow
Brilliant Aia! It worked, thanks
Brilliant Aia! It worked, thanks
5,061
Posted By sidnow
When I put it in a loop it said bad substitution ...
When I put it in a loop it said bad substitution

This is the code


for i in `cat filename`
do
echo ${$i%/*} echo ${$i##*/}
done


It gave this error


bash: echo ${file_path%/*}:bad...
5,061
Posted By sidnow
Extract filename from a given string
I want to extract the filename from a string.

This is how I have the rawdata ina file


/home/sid/ftp/testing/abc.txt
/home/sid/ftp/tested/testing/def.txt
/home/sid/sftp/date/misc/hij.txt
...
7,165
Posted By sidnow
How to get list of all functional ids in Solaris?
Hi,

I wanted to check which all functional ids have been set up to be used as sftp functional ids? Where can I find this data in solaris machine?
1,720
Posted By sidnow
How to display the header of a matched row in a file?
Hi,

So I am trying to print the first row(header) first column alongwith the matched value. But I am not sure how do I print the same, by matching a pattern located in the file


eg
File...
5,503
Posted By sidnow
How to "view" time stamp of a file which is zipped?
Hi

I have a zipped file with extension .gz

It contains just one file which is zipped . What is the command to view the timestamp of that file. I Don't want to unzip the file
15,895
Posted By sidnow
Command to check only Autosys running jobs with autorep like command
Hi,

Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys?
Showing results 1 to 25 of 56

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