Search Results

Search: Posts Made By: shieksir
8,342
Posted By shieksir
Linux convert Comma delimited file to pipe
I have file in linux with comma delimited and string fields in double quotations ", I need to convert them to pipe delimiter please share your inputs.
Example:
Input:
...
1,228
Posted By shieksir
Hi, Thanks for the reply. REGION value...
Hi,
Thanks for the reply.

REGION value vary from run to run, so we would like to pass it as mentioned.

Looks like arrays would not help here, REGION will get run time same needs to replace in...
1,228
Posted By shieksir
Issue in shell script variables
Hi,

I have a file at $HOME/t.txt, below is file content
cat $HOME/t.txt
CUSTOMER_${REGION}.out

Am using this file content in one script $HOME/samp.sh, below is the script

#!/bin/bash...
1,522
Posted By shieksir
Yes..this script just type in notepad, missing $...
Yes..this script just type in notepad, missing $ its type error. But in actual script is proper, issue with last two parameters are not recognized.

while [ $# -gt 0 ]; do
case ${1} in
--Src|-s...
1,522
Posted By shieksir
Issue with while/case statement.
Hi,

In my script I have while loop with case statement its working fine, I have added two more arguments as input to script. So i have addedd 2 cases in the existing case statement.

-a and -d...
Showing results 1 to 5 of 5

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