Search Results

Search: Posts Made By: bilalghazi
8,790
Posted By bilalghazi
well thanks, but this command eliminates "|" from...
well thanks, but this command eliminates "|" from the new_file and put a space :(.

---------- Post updated at 04:51 PM ---------- Previous update was at 04:49 PM ----------

i use the following...
4,180
Posted By bilalghazi
i have found the issue, i was wrongly using the...
i have found the issue, i was wrongly using the following #! bash/sh at the beginning of the file. It is now working fine. Thanks
4,180
Posted By bilalghazi
shell script does not work if run in background
Dear All,

I am trying to run a script in background like ./scriptname.sh & but when i try to run it in background it is giving me an error "syntax error at line 12: `(' unexpected" at the line 12,...
8,790
Posted By bilalghazi
i think i was not clear enough to explain my...
i think i was not clear enough to explain my problem, the problem is that i have one variable which has some value say value1 now i want to check each line of file, if the field18 is greater than 14...
8,790
Posted By bilalghazi
Thanks a lot, it resolved my problem. :) ...
Thanks a lot, it resolved my problem. :)

---------- Post updated at 05:36 PM ---------- Previous update was at 05:35 PM ----------

is it possible that i replace the value of field18 with a...
8,790
Posted By bilalghazi
Grab from the file in one command
Dear All,

I have a file in which there are 54 fields, i want to grab the all the lines and send to a new file where filed18 has lenght greater than 14. How can i do it without if condition and...
4,033
Posted By bilalghazi
Dear Corona, while implementing your code i am...
Dear Corona, while implementing your code i am getting the following error:

Suffix too large - 512 max: s/'01/26/2010

my input is a date from file in the following format "01/26/2010 12:04:52...
4,033
Posted By bilalghazi
corona thanks for your reply, i am very new in...
corona thanks for your reply, i am very new in this therefore i did such mistake. Thanks

---------- Post updated at 09:51 PM ---------- Previous update was at 09:19 PM ----------

it is giving...
2,311
Posted By bilalghazi
anbu i dont understand where you have mentioned...
anbu i dont understand where you have mentioned the field 32, as i have the almost same issue but i need to change field18 and total numbers of fileds are 54.

Thanks
4,033
Posted By bilalghazi
File processing is very slow with cut command
Dear All,

I am using the following script to find and replace the date format in a file. The field18 in the file has the following format: "01/26/2010 11:55:14 GMT+04:00" which I want to convert...
Showing results 1 to 10 of 10

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