Search Results

Search: Posts Made By: asemota
1,581
Posted By asemota
sending field values in columns to output file
Hi,

I am trying to send output from a shell scrip to a txt file in a colum format. I have all I can and I dont seem to understand why the results from one one particular file keeps going to the...
8,315
Posted By asemota
Thanks for your help. I appreciate it. it...
Thanks for your help. I appreciate it.

it worked!!!!!!!!
8,315
Posted By asemota
How do I execute multiple statements within If then else
Please help me. I have been doing this for several hours.

Here is the code



if [\("$var1"=="xxx"\) -o \("$var2"=="0"\)] then
echo a b c d >> file.txt
echo 1111 >> file.txt
fi


...
2,709
Posted By asemota
it's increasing the file size by 1
it's increasing the file size by 1
2,709
Posted By asemota
Include special system characters in file count
Hi,

I have a script that checks the length of each record/line in file - This seems to be working when there are no special systems character that are invisible or hidden.



awk -v...
20,481
Posted By asemota
Thank you!!!! Thank you alot!! It worked.
Thank you!!!! Thank you alot!! It worked.
20,481
Posted By asemota
Thank you!! Can I insert this in the original...
Thank you!! Can I insert this in the original code?
Please see below. How should I do this? I would like to insert it in the bolded section. please help



for infile in /folder/file.1$.5$ ...
20,481
Posted By asemota
extracting basename in awk or nawk
I am having a hard time extracting the file name from the above code. Instead of printing /folder/file.1$.5$, I would like it to print the file name file.1$.5$.

I have tried using basename but it...
9,648
Posted By asemota
Thanks Jim. Now I am having problems...
Thanks Jim.

Now I am having problems opening the file

/folder/file.1$.5$

I have multiple files in this folder with the following names

file.10.5232004
file.12.2112003
.........
...
9,648
Posted By asemota
Thanks for responding. I appreciate it. Yes...
Thanks for responding. I appreciate it.

Yes if there are no data, it will show up as blanks

1111B0216262626111111 999999...
9,648
Posted By asemota
Shell script for validating fields in a file
Hi,

I have not used Unix in a very long time and I am very rusty. I would appreciate any help I can get from the more experienced and experts in Shell script.

I am reading one file at a time...
Showing results 1 to 11 of 11

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